Class CustomMethodNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- com.inductiveautomation.perspective.designer.workspace.scriptseditor.CustomMethodNode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,javax.swing.tree.MutableTreeNode,javax.swing.tree.TreeNode
public class CustomMethodNode 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.MutableCustomMethodConfiggetMutableConfig()java.util.List<javax.swing.Action>getPopupActions()booleanisChanged()default booleanisMeta()static org.apache.commons.lang3.tuple.Pair<java.lang.String,java.lang.String>makeKey(java.lang.String methodName)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 methodName)
-
getMutableConfig
public com.inductiveautomation.perspective.designer.workspace.scriptseditor.MutableCustomMethodConfig 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()
-
getPopupActions
public java.util.List<javax.swing.Action> getPopupActions()
-
onDoubleClick
public default void onDoubleClick()
-
isMeta
public default boolean isMeta()
-
-