Class UberfireBreadcrumbs


  • public class UberfireBreadcrumbs
    extends Object
    • Method Detail

      • clearBreadcrumbs

        public void clearBreadcrumbs​(String associatedPerspective)
        Clears the breadcrumbs associated with a perspective.
        Parameters:
        associatedPerspective - perspective associated with the breadcrumb
      • clearBreadcrumbsAndToolBars

        public void clearBreadcrumbsAndToolBars​(String associatedPerspective)
        Clears the breadcrumbs and toolbars associated with a perspective.
        Parameters:
        associatedPerspective - perspective associated with the breadcrumb
      • addBreadCrumb

        public void addBreadCrumb​(String associatedPerspective,
                                  String breadCrumbLabel,
                                  org.uberfire.mvp.Command command)
        Creates a breadcrumb associated with a perspective.
        Parameters:
        associatedPerspective - perspective associated with the breadcrumb
        breadCrumbLabel - label of the breadcrumb
        command - command to be executed after the associated place request is accessed
      • addBreadCrumb

        public void addBreadCrumb​(String associatedPerspective,
                                  String breadCrumbLabel,
                                  org.uberfire.mvp.Command command,
                                  boolean removeDeepLevelBreadcrumbsAfterActivation)
        Creates a breadcrumb associated with a perspective.
        Parameters:
        associatedPerspective - perspective associated with the breadcrumb
        breadCrumbLabel - label of the breadcrumb
        command - command to be executed after the associated place request is accessed
        removeDeepLevelBreadcrumbsAfterActivation - defines if the deep level breadcrumbs should be removed after the breadcrumb is activated
      • addBreadCrumb

        public void addBreadCrumb​(String associatedPerspective,
                                  String breadCrumbLabel,
                                  org.uberfire.mvp.PlaceRequest associatedPlaceRequest)
        Creates a breadcrumb associated with a perspective and Place Request.
        Parameters:
        associatedPerspective - perspective associated with the breadcrumb
        breadCrumbLabel - label of the breadcrumb
        associatedPlaceRequest - place request associated with the breadcrumb
      • addBreadCrumb

        public void addBreadCrumb​(String associatedPerspective,
                                  String breadCrumbLabel,
                                  org.uberfire.mvp.PlaceRequest associatedPlaceRequest,
                                  org.uberfire.mvp.Command command)
        Creates a breadcrumb associated with a perspective and Place Request.
        Parameters:
        associatedPerspective - perspective associated with the breadcrumb
        breadCrumbLabel - label of the breadcrumb
        associatedPlaceRequest - place request associated with the breadcrumb
        command - command to be executed after the associated place request is accessed
      • addBreadCrumb

        public void addBreadCrumb​(String associatedPerspective,
                                  String breadCrumbLabel,
                                  org.uberfire.mvp.PlaceRequest associatedPlaceRequest,
                                  org.uberfire.mvp.Command command,
                                  boolean removeDeepLevelBreadcrumbsAfterActivation)
        Creates a breadcrumb associated with a perspective a Place Request and a target panel.
        Parameters:
        associatedPerspective - perspective associated with the breadcrumb
        breadCrumbLabel - label of the breadcrumb
        associatedPlaceRequest - place request associated with the breadcrumb
        command - command to be executed after the associated place request is accessed
        removeDeepLevelBreadcrumbsAfterActivation - defines if the deep level breadcrumbs should be removed after the breadcrumb is activated
      • addToolbar

        public void addToolbar​(String associatedPerspective,
                               org.jboss.errai.common.client.dom.Element toolbar)
        Adds a toolbar to a perspective. Toolbar is placed in the right side of the breadcrumbs area.
        Parameters:
        associatedPerspective - perspective associated with the toolbar
        toolbar - toolbar that will be added