Class orion.breadcrumbs.BreadCrumbs
Bread crumbs show the current position within a resource tree and allow navigation
to different places in the tree. Unlike the fairy tale, bread crumbs typically don't lead
to a cottage made of gingerbread. Sorry!
Defined in: </shared/eclipse/e4/orion/I201107200200/plugins/org.eclipse.orion.client.core/web/orion/breadcrumbs.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
orion.breadcrumbs.BreadCrumbs(options)
Constructs a new BreadCrumb with the given options.
|
Method Attributes | Method Name and Description |
---|---|
render()
|
Class Detail
orion.breadcrumbs.BreadCrumbs(options)
Constructs a new BreadCrumb with the given options.
- Parameters:
- {Object} options
- The options object which must specify the parent container
- options.container
- The parent container for the bread crumb presentation
- options.resource
- The current resource
- options.makeHref Optional
- The call back function to make the href on a bread crumb item. If not defined "/navigate/table.html#" is used.
- option.getFirstSegment Optional
- The call back function to make DOM node for the first segment in breadcrumb. If not defined "Orion Navigator" is used.
Method Detail
getNavigatorRootSegment()
render()