Solution
Create and register a BreadCrumbDelegate Java class with an inner class that extends AbstractBreadCrumbGenerator to display the bread crumbs.
Prerequisite Knowledge
To create the necessary bread crumb classes you will need an understanding of the Java programming language.
Solution Elements
Element
Type
Description
BreadCrumbController
Java class
The controller class that receives AJAX requests for bread crumbs. It returns a response that is the string form of a JSON array of crumbs.
BreadCrumbDelegateFactory
Java class
A factory used by the BreadCrumbController to locate a BreadCrumbDelegate capable of producing the bread crumbs for a given page.
BreadCrumbDelegate
Java interface
A delegate that contains an inner AbstractBreadCrumbGenerator class and that knows which pages the generator class can produce bread crumbs for.
AbstractBreadCrumbGenerator
Java class
A subclass of this base class creates the bread crumbs for a page.
*.wt.properties.xconf
Properties xconf file
Contains the property “com.ptc.windchill.enterprise.breadcrumb.BreadCrumbDelgate” that lists all available BreadCrumbDelegates.
도움이 되셨나요?