public class LabelBreadcrumb extends AbstractSpaceActionBreadcrumb
Examples: If viewing a global label: "Dashboard > Labels > labelOne" If viewing a space label: "Dashboard > Demo Space > Browse Space > Labels > labelOne"
spaceactioncssClass, displayTitle, filterTrailingBreadcrumb, MAX_BREADCRUMBS, target, title, tooltip| Constructor and Description |
|---|
LabelBreadcrumb(com.opensymphony.xwork.Action action,
DisplayableLabel label,
Space space)
Label crumbs are sequenced a little differently than normal (where
ContentActionBreadcrumbs typically come
last). |
| Modifier and Type | Method and Description |
|---|---|
protected List |
getMyCrumbs()
Returns a list of breadcrumbs for the current breadcrumb.
|
Breadcrumb |
getParent()
Gets the parent breadcrumb.
|
filterTrailingBreadcrumb, getBreadcrumbsTrail, getCssClass, getDisplayTitle, getTarget, getTitle, getTooltip, setCssClass, setFilterTrailingBreadcrumb, toStringpublic LabelBreadcrumb(com.opensymphony.xwork.Action action,
DisplayableLabel label,
Space space)
ContentActionBreadcrumbs typically come
last). Space labels can only be viewed via the browse space tab so it's crumbs will look something
like: Browse Space > Labels > LabelNameprotected List getMyCrumbs()
AbstractBreadcrumbBlogPostBreadcrumb
overrides this method and returns 4 crumbs altogether to represent itself: 2007 > 11 > 28 > BlogTitle.
By default my crumbs will be a list with size 1, containing itself, unless the current breadcrumb has no title.
getMyCrumbs in class AbstractBreadcrumbpublic Breadcrumb getParent()
AbstractBreadcrumbgetParent in class AbstractBreadcrumbCopyright © 2003–2021 Atlassian. All rights reserved.