Class TestCollectionController
- java.lang.Object
-
- net.sourceforge.pmd.util.fxdesigner.app.AbstractController
-
- net.sourceforge.pmd.util.fxdesigner.TestCollectionController
-
- All Implemented Interfaces:
javafx.fxml.Initializable
,ApplicationComponent
,SettingsOwner
public class TestCollectionController extends AbstractController
-
-
Field Summary
Fields Modifier and Type Field Description javafx.scene.control.ListView<LiveTestCase>
testsListView
-
Constructor Summary
Constructors Modifier Constructor Description protected
TestCollectionController(DesignerRoot root, ObservableXPathRuleBuilder builder)
-
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.void
deleteTestCase(LiveTestCase tc)
void
duplicate(LiveTestCase testCase)
org.reactfx.value.Val<net.sourceforge.pmd.lang.LanguageVersion>
getDefaultLanguageVersion()
javafx.scene.control.ToggleGroup
getLoadedToggleGroup()
void
loadTestCase(int index)
org.reactfx.value.Val<LiveTestCase>
selectedTestCase()
void
setLoadedToggleGroup(javafx.scene.control.ToggleGroup loadedToggleGroup)
void
unloadTestCase()
-
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, globalLanguageProperty, isDeveloperMode, languageBindingsProperty, logInternalDebugInfo, logInternalDebugInfo, logInternalException, logUserException, raiseParsableSourceFlag, raiseParsableXPathFlag
-
-
-
-
Field Detail
-
testsListView
public javafx.scene.control.ListView<LiveTestCase> testsListView
-
-
Constructor Detail
-
TestCollectionController
protected TestCollectionController(DesignerRoot root, ObservableXPathRuleBuilder builder)
-
-
Method Detail
-
getDefaultLanguageVersion
public org.reactfx.value.Val<net.sourceforge.pmd.lang.LanguageVersion> getDefaultLanguageVersion()
-
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
-
deleteTestCase
public void deleteTestCase(LiveTestCase tc)
-
unloadTestCase
public void unloadTestCase()
-
loadTestCase
public void loadTestCase(int index)
-
getLoadedToggleGroup
public javafx.scene.control.ToggleGroup getLoadedToggleGroup()
-
setLoadedToggleGroup
public void setLoadedToggleGroup(javafx.scene.control.ToggleGroup loadedToggleGroup)
-
duplicate
public void duplicate(LiveTestCase testCase)
-
selectedTestCase
public org.reactfx.value.Val<LiveTestCase> selectedTestCase()
-
-