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.MenuItem
openEventLogMenuItem
-
Constructor Summary
Constructors Constructor Description MainDesignerController(DesignerRoot designerRoot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
afterChildrenInit()
Runs once after every child has finished their initialization.protected void
beforeParentInit()
Executed before the parent's initialization.java.util.List<AbstractController>
getChildren()
java.lang.String
getDebugName()
A debug name for this component, used in developer mode to e.g.java.util.List<java.io.File>
getRecentFiles()
boolean
isMaximized()
void
setMaximized(boolean b)
void
setRecentFiles(java.util.List<java.io.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
getGlobalLanguageVersion, getLogCategory, getLogger, getMainStage, getService, isDeveloperMode, logInternalDebugInfo, logInternalDebugInfo, logInternalException, logUserException, raiseParsableSourceFlag, raiseParsableXPathFlag
-
-
-
-
Constructor Detail
-
MainDesignerController
public MainDesignerController(DesignerRoot designerRoot)
-
-
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
-
afterChildrenInit
protected void afterChildrenInit()
Description copied from class:AbstractController
Runs 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:
afterChildrenInit
in classAbstractController
-
getRecentFiles
public java.util.List<java.io.File> getRecentFiles()
-
setRecentFiles
public void setRecentFiles(java.util.List<java.io.File> files)
-
isMaximized
public boolean isMaximized()
-
setMaximized
public void setMaximized(boolean b)
-
getChildren
public java.util.List<AbstractController> getChildren()
- Overrides:
getChildren
in classAbstractController
-
getDebugName
public java.lang.String getDebugName()
Description copied from interface:ApplicationComponent
A debug name for this component, used in developer mode to e.g. trace events handling paths.
-
-