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"
space
action
cssClass, displayTitle, filterTrailingBreadcrumb, 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
ContentActionBreadcrumb s 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, toString
public LabelBreadcrumb(com.opensymphony.xwork.Action action, DisplayableLabel label, Space space)
ContentActionBreadcrumb
s 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()
AbstractBreadcrumb
BlogPostBreadcrumb
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 AbstractBreadcrumb
public Breadcrumb getParent()
AbstractBreadcrumb
getParent
in class AbstractBreadcrumb
Copyright © 2003–2015 Atlassian. All rights reserved.