Class MainDesignerController
- java.lang.Object
-
- net.sourceforge.pmd.util.fxdesigner.app.AbstractController
-
- net.sourceforge.pmd.util.fxdesigner.MainDesignerController
-
- All Implemented Interfaces:
javafx.fxml.Initializable,ApplicationComponent,SettingsOwner
public class MainDesignerController extends AbstractController
Main controller of the app. Mediator for subdivisions of the UI.- Since:
- 6.0.0
- Author:
- Clément Fournier
-
-
Field Summary
Fields Modifier and Type Field Description javafx.scene.control.MenuItemopenEventLogMenuItem
-
Constructor Summary
Constructors Constructor Description MainDesignerController(DesignerRoot designerRoot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidafterChildrenInit()Runs once after every child has finished their initialization.protected voidbeforeParentInit()Executed before the parent's initialization.List<AbstractController>getChildren()StringgetDebugName()A debug name for this component, used in developer mode to e.g.net.sourceforge.pmd.lang.LanguagegetGlobalLanguage()List<File>getRecentFiles()booleanisMaximized()voidsetGlobalLanguage(net.sourceforge.pmd.lang.Language lang)voidsetMaximized(boolean b)voidsetRecentFiles(List<File> files)-
Methods inherited from class net.sourceforge.pmd.util.fxdesigner.app.AbstractController
afterParentInit, 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
getLogCategory, getLogger, getMainStage, getService, globalLanguageProperty, isDeveloperMode, languageBindingsProperty, logInternalDebugInfo, logInternalDebugInfo, logInternalException, logUserException, raiseParsableSourceFlag, raiseParsableXPathFlag
-
-
-
-
Constructor Detail
-
MainDesignerController
public MainDesignerController(DesignerRoot designerRoot)
-
-
Method Detail
-
beforeParentInit
protected void beforeParentInit()
Description copied from class:AbstractControllerExecuted before the parent's initialization. Always executed once at the start of the initialization of this controller.- Overrides:
beforeParentInitin classAbstractController
-
afterChildrenInit
protected void afterChildrenInit()
Description copied from class:AbstractControllerRuns once after every child has finished their initialization. This will be run in all cases. It's only useful if the children do something useful in theirAbstractController.afterParentInit().- Overrides:
afterChildrenInitin classAbstractController
-
isMaximized
public boolean isMaximized()
-
setMaximized
public void setMaximized(boolean b)
-
getGlobalLanguage
public net.sourceforge.pmd.lang.Language getGlobalLanguage()
-
setGlobalLanguage
public void setGlobalLanguage(net.sourceforge.pmd.lang.Language lang)
-
getChildren
public List<AbstractController> getChildren()
- Overrides:
getChildrenin classAbstractController
-
getDebugName
public String getDebugName()
Description copied from interface:ApplicationComponentA debug name for this component, used in developer mode to e.g. trace events handling paths.
-
-