Class ExtensionFunctionNode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

    public class ExtensionFunctionNode
    extends javax.swing.tree.DefaultMutableTreeNode
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class javax.swing.tree.DefaultMutableTreeNode

        allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Default Methods 
      Modifier and Type Method Description
      java.util.Optional<com.inductiveautomation.perspective.designer.workspace.scriptseditor.CommitablePanel> createEditor()  
      java.util.Optional<javax.swing.Icon> getIcon()  
      com.inductiveautomation.perspective.designer.workspace.scriptseditor.MutableExtensionFunctionConfig getMutableConfig()  
      default java.util.List<javax.swing.Action> getPopupActions()  
      boolean isChanged()  
      boolean isConfigured()  
      default boolean isMeta()  
      static org.apache.commons.lang3.tuple.Pair<java.lang.String,​java.lang.String> makeKey​(java.lang.String name)  
      default void onDoubleClick()  
      • Methods inherited from class javax.swing.tree.DefaultMutableTreeNode

        add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • makeKey

        public static org.apache.commons.lang3.tuple.Pair<java.lang.String,​java.lang.String> makeKey​(java.lang.String name)
      • isConfigured

        public boolean isConfigured()
        Returns:
        true if this node is configured in a non-default manner
      • getMutableConfig

        public com.inductiveautomation.perspective.designer.workspace.scriptseditor.MutableExtensionFunctionConfig getMutableConfig()
      • createEditor

        public java.util.Optional<com.inductiveautomation.perspective.designer.workspace.scriptseditor.CommitablePanel> createEditor()
      • isChanged

        public boolean isChanged()
      • getIcon

        public java.util.Optional<javax.swing.Icon> getIcon()
      • onDoubleClick

        public default void onDoubleClick()
      • isMeta

        public default boolean isMeta()
      • getPopupActions

        public default java.util.List<javax.swing.Action> getPopupActions()