public class UberfireBreadcrumbs extends Object
WorkbenchPerspective
,
a WorkbenchScreen
a WorkbenchEditor
,
or the editor associated with a VFS file located at a
particular Path
through a PathPlaceRequest
.
Also has a toolbar area, placed in the right side of bread, that allows
applications to add Element
to Uberfire Breadcrumbs.Modifier and Type | Class and Description |
---|---|
static interface |
UberfireBreadcrumbs.View |
Constructor and Description |
---|
UberfireBreadcrumbs(UberfireBreadcrumbsContainer uberfireBreadcrumbsContainer,
org.jboss.errai.ioc.client.api.ManagedInstance<BreadcrumbsPresenter> breadcrumbsPresenters,
org.uberfire.client.mvp.PlaceManager placeManager,
UberfireBreadcrumbs.View view) |
Modifier and Type | Method and Description |
---|---|
void |
addBreadCrumb(String associatedPerspective,
String breadCrumbLabel,
Command command)
Creates a breadcrumb associated with a perspective.
|
void |
addBreadCrumb(String associatedPerspective,
String breadCrumbLabel,
Command command,
boolean removeDeepLevelBreadcrumbsAfterActivation)
Creates a breadcrumb associated with a perspective.
|
void |
addBreadCrumb(String associatedPerspective,
String breadCrumbLabel,
PlaceRequest associatedPlaceRequest)
Creates a breadcrumb associated with a perspective
and Place Request.
|
void |
addBreadCrumb(String associatedPerspective,
String breadCrumbLabel,
PlaceRequest associatedPlaceRequest,
Command command)
Creates a breadcrumb associated with a perspective
and Place Request.
|
void |
addBreadCrumb(String associatedPerspective,
String breadCrumbLabel,
PlaceRequest associatedPlaceRequest,
com.google.gwt.user.client.ui.HasWidgets addTo)
Creates a breadcrumb associated with a perspective
a Place Request and a target panel.
|
void |
addBreadCrumb(String associatedPerspective,
String breadCrumbLabel,
PlaceRequest associatedPlaceRequest,
com.google.gwt.user.client.ui.HasWidgets addTo,
Command command)
Creates a breadcrumb associated with a perspective
a Place Request and a target panel.
|
void |
addBreadCrumb(String associatedPerspective,
String breadCrumbLabel,
PlaceRequest associatedPlaceRequest,
com.google.gwt.user.client.ui.HasWidgets addTo,
Command command,
boolean removeDeepLevelBreadcrumbsAfterActivation)
Creates a breadcrumb associated with a perspective
a Place Request and a target panel.
|
void |
addToolbar(String associatedPerspective,
org.jboss.errai.common.client.dom.Element toolbar)
Adds a toolbar to a perspective.
|
void |
clearBreadcrumbs(String associatedPerspective)
Clears the breadcrumbs associated with a perspective.
|
void |
clearBreadcrumbsAndToolBars(String associatedPerspective)
Clears the breadcrumbs and toolbars associated with a perspective.
|
void |
createBreadcrumbs() |
@Inject public UberfireBreadcrumbs(UberfireBreadcrumbsContainer uberfireBreadcrumbsContainer, org.jboss.errai.ioc.client.api.ManagedInstance<BreadcrumbsPresenter> breadcrumbsPresenters, org.uberfire.client.mvp.PlaceManager placeManager, UberfireBreadcrumbs.View view)
@PostConstruct public void createBreadcrumbs()
public void clearBreadcrumbs(String associatedPerspective)
associatedPerspective
- perspective associated with the breadcrumbpublic void clearBreadcrumbsAndToolBars(String associatedPerspective)
associatedPerspective
- perspective associated with the breadcrumbpublic void addBreadCrumb(String associatedPerspective, String breadCrumbLabel, Command command)
associatedPerspective
- perspective associated with the breadcrumbbreadCrumbLabel
- label of the breadcrumbcommand
- command to be executed after the associated place request is accessedpublic void addBreadCrumb(String associatedPerspective, String breadCrumbLabel, Command command, boolean removeDeepLevelBreadcrumbsAfterActivation)
associatedPerspective
- perspective associated with the breadcrumbbreadCrumbLabel
- label of the breadcrumbcommand
- command to be executed after the associated place request is accessedremoveDeepLevelBreadcrumbsAfterActivation
- defines if the deep level breadcrumbs should be removed after the breadcrumb is activatedpublic void addBreadCrumb(String associatedPerspective, String breadCrumbLabel, PlaceRequest associatedPlaceRequest)
associatedPerspective
- perspective associated with the breadcrumbbreadCrumbLabel
- label of the breadcrumbassociatedPlaceRequest
- place request associated with the breadcrumbpublic void addBreadCrumb(String associatedPerspective, String breadCrumbLabel, PlaceRequest associatedPlaceRequest, com.google.gwt.user.client.ui.HasWidgets addTo)
associatedPerspective
- perspective associated with the breadcrumbbreadCrumbLabel
- label of the breadcrumbassociatedPlaceRequest
- place request associated with the breadcrumbaddTo
- target content panel of the place requestpublic void addBreadCrumb(String associatedPerspective, String breadCrumbLabel, PlaceRequest associatedPlaceRequest, Command command)
associatedPerspective
- perspective associated with the breadcrumbbreadCrumbLabel
- label of the breadcrumbassociatedPlaceRequest
- place request associated with the breadcrumbcommand
- command to be executed after the associated place request is accessedpublic void addBreadCrumb(String associatedPerspective, String breadCrumbLabel, PlaceRequest associatedPlaceRequest, com.google.gwt.user.client.ui.HasWidgets addTo, Command command)
associatedPerspective
- perspective associated with the breadcrumbbreadCrumbLabel
- label of the breadcrumbassociatedPlaceRequest
- place request associated with the breadcrumbaddTo
- target content panel of the place requestcommand
- command to be executed after the associated place request is accessedpublic void addBreadCrumb(String associatedPerspective, String breadCrumbLabel, PlaceRequest associatedPlaceRequest, com.google.gwt.user.client.ui.HasWidgets addTo, Command command, boolean removeDeepLevelBreadcrumbsAfterActivation)
associatedPerspective
- perspective associated with the breadcrumbbreadCrumbLabel
- label of the breadcrumbassociatedPlaceRequest
- place request associated with the breadcrumbaddTo
- target content panel of the place requestcommand
- command to be executed after the associated place request is accessedremoveDeepLevelBreadcrumbsAfterActivation
- defines if the deep level breadcrumbs should be removed after the breadcrumb is activatedpublic void addToolbar(String associatedPerspective, org.jboss.errai.common.client.dom.Element toolbar)
associatedPerspective
- perspective associated with the toolbartoolbar
- toolbar that will be addedCopyright © 2012–2018 JBoss by Red Hat. All rights reserved.