Package com.ben12.reta.view
Class MainConfigurationController
java.lang.Object
com.ben12.reta.view.MainConfigurationController
- All Implemented Interfaces:
javafx.fxml.Initializable
Main configuration controller.
- Author:
- BenoƮt Moreau (ben.12)
-
Property Summary
Properties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavafx.beans.property.ReadOnlyBooleanProperty
protected void
cancel
(javafx.event.ActionEvent event) Action event to cancel the buffered modifications.protected void
commit()
protected boolean
create
(javafx.event.ActionEvent event) Action event to create a new configuration file.protected void
deleteSource
(javafx.event.ActionEvent event) Action event to remove the selected requirement source.protected void
downSource
(javafx.event.ActionEvent event) Action event to move down the selected requirement source.protected void
export
(javafx.event.ActionEvent event) void
initialize
(URL location, ResourceBundle resources) protected void
newSource
(javafx.event.ActionEvent event) Action event to add a new requirement source.void
Open a configuration file.protected void
open
(javafx.event.ActionEvent event) Action event to open a new configuration file.protected void
openProject
(javafx.event.ActionEvent event) Action event to open the support URL.protected void
openSupport
(javafx.event.ActionEvent event) Action event to open the support URL.protected void
Action event to open an URL.protected void
openWiki
(javafx.event.ActionEvent event) Action event to open the support URL.protected void
run
(javafx.event.ActionEvent event) Action event to run the requirements analysis.protected boolean
save
(javafx.event.ActionEvent event) Action event to save current configuration.protected boolean
saveAs
(javafx.event.ActionEvent event) Action event to save current configuration.protected void
upSource
(javafx.event.ActionEvent event) Action event to move up the selected requirement source.
-
Property Details
-
buffering
public javafx.beans.property.ReadOnlyBooleanProperty bufferingProperty- See Also:
-
-
Constructor Details
-
MainConfigurationController
public MainConfigurationController()Constructor.
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfacejavafx.fxml.Initializable
-
newSource
Action event to add a new requirement source.- Parameters:
event
- theActionEvent
- Throws:
IOException
- I/O exceptionNoSuchMethodException
- No such method exception
-
deleteSource
protected void deleteSource(javafx.event.ActionEvent event) Action event to remove the selected requirement source.- Parameters:
event
- theActionEvent
-
upSource
protected void upSource(javafx.event.ActionEvent event) Action event to move up the selected requirement source.- Parameters:
event
- theActionEvent
-
downSource
protected void downSource(javafx.event.ActionEvent event) Action event to move down the selected requirement source.- Parameters:
event
- theActionEvent
-
commit
protected void commit() -
cancel
protected void cancel(javafx.event.ActionEvent event) Action event to cancel the buffered modifications.- Parameters:
event
- theActionEvent
-
run
protected void run(javafx.event.ActionEvent event) Action event to run the requirements analysis.- Parameters:
event
- theActionEvent
-
export
protected void export(javafx.event.ActionEvent event) -
create
protected boolean create(javafx.event.ActionEvent event) Action event to create a new configuration file.- Parameters:
event
- theActionEvent
- Returns:
- true if successfully created
-
save
protected boolean save(javafx.event.ActionEvent event) Action event to save current configuration.- Parameters:
event
- theActionEvent
- Returns:
- true if successfully saved
-
saveAs
protected boolean saveAs(javafx.event.ActionEvent event) Action event to save current configuration.- Parameters:
event
- theActionEvent
- Returns:
- true if successfully saved
-
open
protected void open(javafx.event.ActionEvent event) Action event to open a new configuration file.- Parameters:
event
- theActionEvent
-
open
Open a configuration file.- Parameters:
file
- the configuration file to open
-
openURL
Action event to open an URL.- Parameters:
url
- the URL to open
-
openSupport
protected void openSupport(javafx.event.ActionEvent event) Action event to open the support URL.- Parameters:
event
- theActionEvent
-
openWiki
protected void openWiki(javafx.event.ActionEvent event) Action event to open the support URL.- Parameters:
event
- theActionEvent
-
openProject
protected void openProject(javafx.event.ActionEvent event) Action event to open the support URL.- Parameters:
event
- theActionEvent
-
bufferingProperty
public javafx.beans.property.ReadOnlyBooleanProperty bufferingProperty()- Returns:
- buffering status
-