Class RuleEditorsController

  • All Implemented Interfaces:
    javafx.fxml.Initializable, ApplicationComponent, SettingsOwner

    public class RuleEditorsController
    extends AbstractController
    Controller for all rule editors. Interfaces between the main app and the individual editors. Also handles persisting the editors (under the form of rule builders).

    Each XPathRuleEditorController has its own DesignerRoot with scopes some services down to it (see newScope()). This allows keeping several rule editors independent, this class being the bridge between the selected one and the static top of the app.

    Author:
    Clément Fournier
    • Constructor Detail

      • RuleEditorsController

        public RuleEditorsController​(DesignerRoot parent)
    • Method Detail

      • beforeParentInit

        protected void beforeParentInit()
        Description copied from class: AbstractController
        Executed before the parent's initialization. Always executed once at the start of the initialization of this controller.
        Overrides:
        beforeParentInit in class AbstractController
      • currentRuleResults

        public org.reactfx.value.Val<java.util.List<net.sourceforge.pmd.lang.ast.Node>> currentRuleResults()
      • getSelectedTabIndex

        public int getSelectedTabIndex()
      • setSelectedTabIndex

        public void setSelectedTabIndex​(int i)