Class DesignerRoot
- java.lang.Object
-
- net.sourceforge.pmd.util.fxdesigner.app.DesignerRoot
-
public final class DesignerRoot extends java.lang.Object
Interface for the singleton of the app.- Since:
- 6.0.0
- Author:
- Clément Fournier
-
-
Constructor Summary
Constructors Constructor Description DesignerRoot(javafx.stage.Stage mainStage, boolean developerMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventLogger
getLogger()
Gets the logger of the application.javafx.stage.Stage
getMainStage()
Gets the main stage of the application.MessageChannel<net.sourceforge.pmd.lang.ast.Node>
getNodeSelectionChannel()
Channel used to transmit node selection events to all interested components.boolean
isDeveloperMode()
If true, some more events are pushed to the event log, and console streams are open.
-
-
-
Method Detail
-
getLogger
public EventLogger getLogger()
Gets the logger of the application.- Returns:
- The logger
-
getMainStage
public javafx.stage.Stage getMainStage()
Gets the main stage of the application.- Returns:
- The main stage
-
isDeveloperMode
public boolean isDeveloperMode()
If true, some more events are pushed to the event log, and console streams are open. This is enabled by the -v or --verbose option on command line for now.
-
getNodeSelectionChannel
public MessageChannel<net.sourceforge.pmd.lang.ast.Node> getNodeSelectionChannel()
Channel used to transmit node selection events to all interested components.
-
-