Class DragDropTreeNode

java.lang.Object
com.ibm.mq.explorer.ui.extensions.DragDropTreeNode

public class DragDropTreeNode extends Object
Class for the object received when a TreeNode object is drag-dropped. It contains sufficent information to identify the TreeNode that has been dragged.
  • Field Details

  • Constructor Details

    • DragDropTreeNode

      public DragDropTreeNode(String name, String id, String plugId)
      Constructor
      Parameters:
      name - the name of the associated TreeNode
      id - the tree node id of the associated TreeNode
      plugId - the id of the plug-in assciated with the associated TreeNode
  • Method Details

    • getParent

      public DragDropTreeNode getParent()
      Get the parent DragDropTreeNode
      Returns:
      DragDropTreeNode the parent
    • setParent

      public void setParent(DragDropTreeNode prnt)
      Set the parent DragDropTreeNode
      Parameters:
      prnt - the parent DragDropTreeNode
    • getTreeNodeId

      public String getTreeNodeId()
      Get the TreeNode Id
      Returns:
      String the TreeNode Id
    • getTreeNodeName

      public String getTreeNodeName()
      Get the TreeNode name
      Returns:
      String the TreeNode name
    • getTreeNodePlugin_id

      public String getTreeNodePlugin_id()
      Get the id of the plug-in associated with this TreeNode
      Returns:
      String the plug-in id
    • toString

      public String toString()
      Overrides:
      toString in class Object