Class SourceConfigurationController

java.lang.Object
com.ben12.reta.view.SourceConfigurationController

public class SourceConfigurationController extends Object
Requirement source configuration controller.
Author:
BenoƮt Moreau (ben.12)
  • Constructor Details

    • SourceConfigurationController

      public SourceConfigurationController()
  • Method Details

    • bind

      public javafx.beans.property.ObjectProperty<String> bind(com.ben12.reta.beans.property.buffering.BufferingManager newBufferingManager, InputRequirementSource newRequirementSource, javafx.collections.ObservableList<InputRequirementSource> newSources, javafx.collections.ObservableList<javafx.beans.property.ObjectProperty<String>> newSourcesName, javafx.collections.ObservableList<javafx.util.Callback<InputRequirementSource,Void>> callBacks, javafx.util.Callback<InputRequirementSource,Void> mainCallBack) throws NoSuchMethodException
      Bind the view to the model.
      Parameters:
      newBufferingManager - the BufferingManager to use
      newRequirementSource - the InputRequirementSource to configure
      newSources - the input requirement source buffered list
      newSourcesName - the input requirement source buffered name list
      callBacks - Callback list where add own Callback
      mainCallBack - the main Callback to use when source name is modified
      Returns:
      the source name property
      Throws:
      NoSuchMethodException - No such method exception
    • preview

      protected void preview(javafx.event.ActionEvent event)
      Action event to preview requirement parsing.
      Parameters:
      event - the ActionEvent
    • disconnect

      public void disconnect()
      Disconnect the input requirement configuration from the BufferingManager.
    • reconnect

      public void reconnect()
      Reconnect the input requirement configuration to the BufferingManager.