Class RuleEditorsController
- java.lang.Object
-
- net.sourceforge.pmd.util.fxdesigner.app.AbstractController
-
- net.sourceforge.pmd.util.fxdesigner.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).- Author:
- Clément Fournier
-
-
Constructor Summary
Constructors Constructor Description RuleEditorsController(DesignerRoot parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterParentInit()
Executed after the parent's initialization (so afterAbstractController.afterChildrenInit()
).protected void
beforeParentInit()
Executed before the parent's initialization.org.reactfx.value.Val<java.util.List<net.sourceforge.pmd.lang.ast.Node>>
currentRuleResults()
javafx.collections.ObservableList<ObservableXPathRuleBuilder>
getRuleSpecs()
int
getSelectedTabIndex()
void
setSelectedTabIndex(int i)
-
Methods inherited from class net.sourceforge.pmd.util.fxdesigner.app.AbstractController
afterChildrenInit, getChildren, getChildrenSettingsNodes, getDesignerRoot, initialize, shutdown
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.pmd.util.fxdesigner.app.ApplicationComponent
getDebugName, getGlobalLanguageVersion, getLogCategory, getLogger, getMainStage, getService, isDeveloperMode, logInternalDebugInfo, logInternalDebugInfo, logInternalException, logUserException, raiseParsableSourceFlag, raiseParsableXPathFlag
-
-
-
-
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 classAbstractController
-
afterParentInit
public void afterParentInit()
Description copied from class:AbstractController
Executed after the parent's initialization (so afterAbstractController.afterChildrenInit()
). This also means, after persistent settings restoration. If this node has no parent, then this is never executed.- Overrides:
afterParentInit
in classAbstractController
-
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)
-
getRuleSpecs
public javafx.collections.ObservableList<ObservableXPathRuleBuilder> getRuleSpecs()
-
-