Class ExtensionFunctionNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- com.inductiveautomation.perspective.designer.workspace.scriptseditor.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
-
-
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.MutableExtensionFunctionConfiggetMutableConfig()default java.util.List<javax.swing.Action>getPopupActions()booleanisChanged()booleanisConfigured()default booleanisMeta()static org.apache.commons.lang3.tuple.Pair<java.lang.String,java.lang.String>makeKey(java.lang.String name)default voidonDoubleClick()-
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
-
-
-
-
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()
-
-