com.ptc.windchill.cadx.common.treetable
Class TreeTableUtilities

java.lang.Object
  extended bycom.ptc.windchill.cadx.common.treetable.TreeTableUtilities

public class TreeTableUtilities
extends Object


Field Summary
static int identifier
           
static TreeTableStructureNavigate treeTableStructureNavigate
           
 
Constructor Summary
TreeTableUtilities()
           
 
Method Summary
static int addEPMDocsToTreeNodeAndTableRowData(Enumeration persistables, TreeTableNode treeNode, Vector rowDataObjects, int targetIndex)
          Add the specified EPMDocument objects to the specified tree table node.
static int addPersistablesToTree(Enumeration subResult, TreeTableNode treeNode, int identifier)
          Add the specified list of persistable objects as tree nodes to the specified tree node.
static int addPersistablesToTreeNodeAndTableRowData(Enumeration persistables, TreeTableNode treeNode, Vector rowDataObjects, int targetIndex)
          Add the specified persistable objects to the specified tree table node.
static TreeTableNode addPersistableToTree(Persistable persistable, boolean hasChildren, Enumeration siblings, TreeTableNode treeNode, int identifier)
          Add the specified persistable to the specified tree node.
static TreeTableNode createTreeNode(Persistable persistable, boolean hasChildren, Enumeration siblings, int identifier)
          For the specified persistable user object, create a non-open Tree Node.
static int getIdentifier()
           
static TreeTableStructureNavigate getTreeTableStructureNavigate()
           
static void registerTreeTableStructureNavigate(TreeTableStructureNavigate theTreeTableStructureNavigate)
           
static void saveIdentifier(int theIdentifier)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

identifier

public static int identifier

treeTableStructureNavigate

public static TreeTableStructureNavigate treeTableStructureNavigate
Constructor Detail

TreeTableUtilities

public TreeTableUtilities()
Method Detail

addPersistablesToTreeNodeAndTableRowData

public static int addPersistablesToTreeNodeAndTableRowData(Enumeration persistables,
                                                           TreeTableNode treeNode,
                                                           Vector rowDataObjects,
                                                           int targetIndex)
                                                    throws WTException,
                                                           WTPropertyVetoException,
                                                           TreeTableStructureNavigateNotRegisteredException
Add the specified persistable objects to the specified tree table node. Add these to the specified row data object list starting from the specified target index.

Throws:
WTException
WTPropertyVetoException
TreeTableStructureNavigateNotRegisteredException

addEPMDocsToTreeNodeAndTableRowData

public static int addEPMDocsToTreeNodeAndTableRowData(Enumeration persistables,
                                                      TreeTableNode treeNode,
                                                      Vector rowDataObjects,
                                                      int targetIndex)
                                               throws WTException,
                                                      WTPropertyVetoException,
                                                      TreeTableStructureNavigateNotRegisteredException
Add the specified EPMDocument objects to the specified tree table node. Add these to the specified row data object list starting from the specified target index.

Throws:
WTException
WTPropertyVetoException
TreeTableStructureNavigateNotRegisteredException

addPersistablesToTree

public static int addPersistablesToTree(Enumeration subResult,
                                        TreeTableNode treeNode,
                                        int identifier)
Add the specified list of persistable objects as tree nodes to the specified tree node.


addPersistableToTree

public static TreeTableNode addPersistableToTree(Persistable persistable,
                                                 boolean hasChildren,
                                                 Enumeration siblings,
                                                 TreeTableNode treeNode,
                                                 int identifier)
Add the specified persistable to the specified tree node.


createTreeNode

public static TreeTableNode createTreeNode(Persistable persistable,
                                           boolean hasChildren,
                                           Enumeration siblings,
                                           int identifier)
For the specified persistable user object, create a non-open Tree Node.


saveIdentifier

public static void saveIdentifier(int theIdentifier)

getIdentifier

public static int getIdentifier()

registerTreeTableStructureNavigate

public static void registerTreeTableStructureNavigate(TreeTableStructureNavigate theTreeTableStructureNavigate)

getTreeTableStructureNavigate

public static TreeTableStructureNavigate getTreeTableStructureNavigate()