Class NodeInfoPanelController
- java.lang.Object
-
- net.sourceforge.pmd.util.fxdesigner.util.AbstractController
-
- net.sourceforge.pmd.util.fxdesigner.NodeInfoPanelController
-
- All Implemented Interfaces:
javafx.fxml.Initializable
,SettingsOwner
public class NodeInfoPanelController extends AbstractController
Controller of the node info panel (left).- Since:
- 6.0.0
- Author:
- Clément Fournier
-
-
Constructor Summary
Constructors Constructor Description NodeInfoPanelController(MainDesignerController mainController)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
beforeParentInit()
Executed before the parent's initialization.org.reactfx.value.Var<java.lang.Boolean>
hideCommonAttributesProperty()
boolean
isHideCommonAttributes()
void
setFocusNode(net.sourceforge.pmd.lang.ast.Node node)
setFocusNode(node, false)void
setFocusNode(net.sourceforge.pmd.lang.ast.Node node, boolean isFromNameDecl)
Displays info about a node.void
setHideCommonAttributes(boolean bool)
-
Methods inherited from class net.sourceforge.pmd.util.fxdesigner.util.AbstractController
afterChildrenInit, afterParentInit, getChildren, getChildrenSettingsNodes, initialize
-
-
-
-
Constructor Detail
-
NodeInfoPanelController
public NodeInfoPanelController(MainDesignerController mainController)
-
-
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
-
setFocusNode
public void setFocusNode(net.sourceforge.pmd.lang.ast.Node node)
setFocusNode(node, false)
-
setFocusNode
public void setFocusNode(net.sourceforge.pmd.lang.ast.Node node, boolean isFromNameDecl)
Displays info about a node. If null, the panels are reset.- Parameters:
node
- Node to inspectisFromNameDecl
- Whether the node was selected in the scope hierarchy treeview. If so we'll attempt to preserve that selection.
-
isHideCommonAttributes
public boolean isHideCommonAttributes()
-
setHideCommonAttributes
public void setHideCommonAttributes(boolean bool)
-
hideCommonAttributesProperty
public org.reactfx.value.Var<java.lang.Boolean> hideCommonAttributesProperty()
-
-