All Implemented Interfaces:
Comparable<NodeType>

public class ToStringNode extends NodeTypeExtension
  • Constructor Details

    • ToStringNode

      public ToStringNode()
  • Method Details

    • getNodeLabel

      public String getNodeLabel()
      Overrides:
      getNodeLabel in class NodeType
    • getMenuGroup

      public List<String> getMenuGroup()
      Description copied from class: NodeType
      Override this method to change the group where the node will appear in the context menu.
      Overrides:
      getMenuGroup in class NodeType
      Returns:
      List of strings that organises the node in a hierarchy in the context menu.
    • isCollapsible

      public boolean isCollapsible()
      Description copied from class: NodeType
      Override this method to give a node the ability to be collapsible. If not overridden, the node is collapsible if it has 1 input socket and 1 output socket. Otherwise, the node is non-collapsible.
      Overrides:
      isCollapsible in class NodeType
      Returns:
      boolean that specifies if the node is collapsible.
    • writeOutputMethod

      public String writeOutputMethod(Indent indent, ScopedEditor editor, EditorNode node, String outputName, EditorEdge output)
      Overrides:
      writeOutputMethod in class NodeTypeExtension