Class ExtensionFunctionNode

java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
com.inductiveautomation.perspective.designer.workspace.scriptseditor.ExtensionFunctionNode
All Implemented Interfaces:
ScriptTreeNode, Serializable, Cloneable, MutableTreeNode, TreeNode

public class ExtensionFunctionNode extends DefaultMutableTreeNode implements ScriptTreeNode
See Also:
  • Method Details

    • makeKey

      public static org.apache.commons.lang3.tuple.Pair<String,String> makeKey(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 Optional<CommitablePanel> createEditor()
      Specified by:
      createEditor in interface ScriptTreeNode
    • isChanged

      public boolean isChanged()
      Specified by:
      isChanged in interface ScriptTreeNode
    • getIcon

      public Optional<Icon> getIcon()
      Specified by:
      getIcon in interface ScriptTreeNode