Package com.ben12.reta.view
Class SourceConfigurationController
java.lang.Object
com.ben12.reta.view.SourceConfigurationController
Requirement source configuration controller.
- Author:
- BenoƮt Moreau (ben.12)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionfinal classConvert comma separated source name toInputRequirementSourcelist. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavafx.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) Bind the view to the model.voidDisconnect the input requirement configuration from theBufferingManager.protected voidpreview(javafx.event.ActionEvent event) Action event to preview requirement parsing.voidReconnect the input requirement configuration to theBufferingManager.
-
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, throws NoSuchMethodExceptionVoid> mainCallBack) Bind the view to the model.- Parameters:
newBufferingManager- theBufferingManagerto usenewRequirementSource- theInputRequirementSourceto configurenewSources- the input requirement source buffered listnewSourcesName- the input requirement source buffered name listcallBacks-Callbacklist where add ownCallbackmainCallBack- the mainCallbackto 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- theActionEvent
-
disconnect
public void disconnect()Disconnect the input requirement configuration from theBufferingManager. -
reconnect
public void reconnect()Reconnect the input requirement configuration to theBufferingManager.
-