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 |
| Modifier and Type | Field and Description |
|---|---|
static double |
SIZE |
| Constructor and Description |
|---|
UberfireBreadcrumbs(org.uberfire.client.workbench.docks.UberfireDocksContainer uberfireDocksContainer,
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,
DefaultPlaceRequest associatedPlaceRequest)
Creates a breadcrumb associated with a perspective
and Place Request.
|
void |
addBreadCrumb(String associatedPerspective,
String breadCrumbLabel,
DefaultPlaceRequest associatedPlaceRequest,
Command command)
Creates a breadcrumb associated with a perspective
and Place Request.
|
void |
addBreadCrumb(String associatedPerspective,
String breadCrumbLabel,
DefaultPlaceRequest 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,
DefaultPlaceRequest 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 |
addToolbar(String associatedPerspective,
org.jboss.errai.common.client.dom.Element toolbar)
Add a toolbar to a a perspective.
|
void |
clearBreadCrumbsAndToolBars(String associatedPerspective)
Clear the breadcrumbs and toolbars
associated with a perspective.
|
public static final double SIZE
@Inject
public UberfireBreadcrumbs(org.uberfire.client.workbench.docks.UberfireDocksContainer uberfireDocksContainer,
org.jboss.errai.ioc.client.api.ManagedInstance<BreadcrumbsPresenter> breadcrumbsPresenters,
org.uberfire.client.mvp.PlaceManager placeManager,
UberfireBreadcrumbs.View view)
public void clearBreadCrumbsAndToolBars(String associatedPerspective)
associatedPerspective - perspective associated with the breadcrumbpublic void addBreadCrumb(String associatedPerspective, String breadCrumbLabel, DefaultPlaceRequest associatedPlaceRequest)
associatedPerspective - perspective associated with the breadcrumbbreadCrumbLabel - label of the breadcrumbassociatedPlaceRequest - place request associated with the breadcrumbpublic void addBreadCrumb(String associatedPerspective, String breadCrumbLabel, DefaultPlaceRequest 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, DefaultPlaceRequest 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, DefaultPlaceRequest 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 addToolbar(String associatedPerspective, org.jboss.errai.common.client.dom.Element toolbar)
associatedPerspective - perspective associated with the toolbartoolbar - toolbar that will be addedCopyright © 2012–2017 JBoss by Red Hat. All rights reserved.