Class 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
    • 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 class AbstractController
      • 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 inspect
        isFromNameDecl - 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()