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 class
Convert comma separated source name toInputRequirementSource
list. -
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.void
Disconnect the input requirement configuration from theBufferingManager
.protected void
preview
(javafx.event.ActionEvent event) Action event to preview requirement parsing.void
Reconnect 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
- theBufferingManager
to usenewRequirementSource
- theInputRequirementSource
to configurenewSources
- the input requirement source buffered listnewSourcesName
- the input requirement source buffered name listcallBacks
-Callback
list where add ownCallback
mainCallBack
- the mainCallback
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
- theActionEvent
-
disconnect
public void disconnect()Disconnect the input requirement configuration from theBufferingManager
. -
reconnect
public void reconnect()Reconnect the input requirement configuration to theBufferingManager
.
-