Class DefaultNavigationListDelegate

java.lang.Object
com.ptc.windchill.enterprise.navigation.delegates.DefaultNavigationListDelegate
All Implemented Interfaces:
com.ptc.windchill.enterprise.navigation.NavigationListDelegate

public class DefaultNavigationListDelegate extends Object implements com.ptc.windchill.enterprise.navigation.NavigationListDelegate
Title bar and the primary node are returned for the shell. Secondary, tertiary, etc. nodes are returned as the user expands nodes in the UI. The nodeString given to the constructor of this delegate is the id of the node being expanded. The set of nodes returned depends on what node is being expanded. The pattern for our node ids is primaryNodeId__secondaryNodeID__tertiaryNodeId. Delegates that want to display something else for these nodes should extend this delegate and override getTitleBar(), getPrimaryNode(), getSecondaryNodes(), getTertiaryNodes() etc.
 Home....(Title bar)
 -Home....(primary node)
 --Overview....(secondary node)
 --Assignments.(secondary node)
 ---Submit Change Notice..(tertiary node)
 ---Submit Change Request.(tertiary node)

 Product.(Title bar)
 -Product.(primary node)
 --Generic Computer.(secondary node)
 --GOLF_CART........(secondary node)
 ---Details.(tertiary node)
 ---Folders.(tertiary node)
 ---Team....(tertiary node)
 
Details of the nodes returned by the DefaultNavigationListDelegate:
  • Title bars and primary nodes are created from the "main navigation" action model. The id of the primary node is the action name from the action model. (e.g. "home", "product", "project")
  • Secondary nodes are constructed in one of two ways:
    1. From recently accessed items if there is a recent stack for that node. Nodes with recent stacks are "product", "project", "program", "change" and "org". The ids of these nodes are their parent node plus the oid of the recent item. For example: "product__OR:wt.pdmlink.PDMLinkProduct:8518"
    2. For nav sections that don't have recently accessed items (e.g. "home", "supplier", "site" "custom") the secondary nodes created from an action model " navigation". (e.g. "home navigation", "supplier navigation" etc.) The id of these nodes is the parent node plus "|". For example: "home__listAssignments|work"
  • Tertiary nodes are shown under recently accessed items. The name of the navigation model used is " navigation". (e.g. "product navigation", "program navigation" etc.)

    Supported API: true

    Extendable: true