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.ReadOnlyBooleanPropertyprotected voidcancel(javafx.event.ActionEvent event) Action event to cancel the buffered modifications.protected voidcommit()protected booleancreate(javafx.event.ActionEvent event) Action event to create a new configuration file.protected voiddeleteSource(javafx.event.ActionEvent event) Action event to remove the selected requirement source.protected voiddownSource(javafx.event.ActionEvent event) Action event to move down the selected requirement source.protected voidexport(javafx.event.ActionEvent event) voidinitialize(URL location, ResourceBundle resources) protected voidnewSource(javafx.event.ActionEvent event) Action event to add a new requirement source.voidOpen a configuration file.protected voidopen(javafx.event.ActionEvent event) Action event to open a new configuration file.protected voidopenProject(javafx.event.ActionEvent event) Action event to open the support URL.protected voidopenSupport(javafx.event.ActionEvent event) Action event to open the support URL.protected voidAction event to open an URL.protected voidopenWiki(javafx.event.ActionEvent event) Action event to open the support URL.protected voidrun(javafx.event.ActionEvent event) Action event to run the requirements analysis.protected booleansave(javafx.event.ActionEvent event) Action event to save current configuration.protected booleansaveAs(javafx.event.ActionEvent event) Action event to save current configuration.protected voidupSource(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:
initializein 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
-