Interface WorkbenchToolBarPresenter.View

  • All Superinterfaces:
    com.google.gwt.user.client.ui.IsWidget
    Enclosing class:
    WorkbenchToolBarPresenter

    public static interface WorkbenchToolBarPresenter.View
    extends com.google.gwt.user.client.ui.IsWidget
    View contract for an UberFire toolbar view.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addToolBar​(org.uberfire.workbench.model.toolbar.ToolBar toolBar)
      Adds a set of Tool Bar items to the view.
      int getHeight()
      Returns the pixel height of this toolbar.
      void hide()
      Makes this toolbar invisible.
      void removeToolBar​(org.uberfire.workbench.model.toolbar.ToolBar toolBar)
      Removes a set of Tool Bar items from the view.
      void show()
      Makes this toolbar visible.
      • Methods inherited from interface com.google.gwt.user.client.ui.IsWidget

        asWidget
    • Method Detail

      • addToolBar

        void addToolBar​(org.uberfire.workbench.model.toolbar.ToolBar toolBar)
        Adds a set of Tool Bar items to the view. The Presenter has already verified that the user has permission to see the items in the given toolbar.
      • removeToolBar

        void removeToolBar​(org.uberfire.workbench.model.toolbar.ToolBar toolBar)
        Removes a set of Tool Bar items from the view. Has no effect if the items were not already in this view.
      • getHeight

        int getHeight()
        Returns the pixel height of this toolbar.
      • hide

        void hide()
        Makes this toolbar invisible.
      • show

        void show()
        Makes this toolbar visible.