Class MainConfigurationController

java.lang.Object
com.ben12.reta.view.MainConfigurationController
All Implemented Interfaces:
javafx.fxml.Initializable

public class MainConfigurationController extends Object implements javafx.fxml.Initializable
Main configuration controller.
Author:
BenoƮt Moreau (ben.12)
  • Property Summary

    Properties
    Type
    Property
    Description
    javafx.beans.property.ReadOnlyBooleanProperty
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    javafx.beans.property.ReadOnlyBooleanProperty
     
    protected void
    cancel(javafx.event.ActionEvent event)
    Action event to cancel the buffered modifications.
    protected void
     
    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(File file)
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Property Details

    • buffering

      public javafx.beans.property.ReadOnlyBooleanProperty bufferingProperty
      See Also:
  • Constructor Details

    • MainConfigurationController

      public MainConfigurationController()
      Constructor.
  • Method Details

    • initialize

      public void initialize(URL location, ResourceBundle resources)
      Specified by:
      initialize in interface javafx.fxml.Initializable
    • newSource

      protected void newSource(javafx.event.ActionEvent event) throws NoSuchMethodException, IOException
      Action event to add a new requirement source.
      Parameters:
      event - the ActionEvent
      Throws:
      IOException - I/O exception
      NoSuchMethodException - No such method exception
    • deleteSource

      protected void deleteSource(javafx.event.ActionEvent event)
      Action event to remove the selected requirement source.
      Parameters:
      event - the ActionEvent
    • upSource

      protected void upSource(javafx.event.ActionEvent event)
      Action event to move up the selected requirement source.
      Parameters:
      event - the ActionEvent
    • downSource

      protected void downSource(javafx.event.ActionEvent event)
      Action event to move down the selected requirement source.
      Parameters:
      event - the ActionEvent
    • commit

      protected void commit()
    • cancel

      protected void cancel(javafx.event.ActionEvent event)
      Action event to cancel the buffered modifications.
      Parameters:
      event - the ActionEvent
    • run

      protected void run(javafx.event.ActionEvent event)
      Action event to run the requirements analysis.
      Parameters:
      event - the ActionEvent
    • 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 - the ActionEvent
      Returns:
      true if successfully created
    • save

      protected boolean save(javafx.event.ActionEvent event)
      Action event to save current configuration.
      Parameters:
      event - the ActionEvent
      Returns:
      true if successfully saved
    • saveAs

      protected boolean saveAs(javafx.event.ActionEvent event)
      Action event to save current configuration.
      Parameters:
      event - the ActionEvent
      Returns:
      true if successfully saved
    • open

      protected void open(javafx.event.ActionEvent event)
      Action event to open a new configuration file.
      Parameters:
      event - the ActionEvent
    • open

      public void open(File file)
      Open a configuration file.
      Parameters:
      file - the configuration file to open
    • openURL

      protected void openURL(String url)
      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 - the ActionEvent
    • openWiki

      protected void openWiki(javafx.event.ActionEvent event)
      Action event to open the support URL.
      Parameters:
      event - the ActionEvent
    • openProject

      protected void openProject(javafx.event.ActionEvent event)
      Action event to open the support URL.
      Parameters:
      event - the ActionEvent
    • bufferingProperty

      public javafx.beans.property.ReadOnlyBooleanProperty bufferingProperty()
      Returns:
      buffering status