Class WorkbenchToolBarView

  • All Implemented Interfaces:
    com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget, org.uberfire.client.workbench.widgets.toolbar.WorkbenchToolBarPresenter.View

    @Dependent
    public class WorkbenchToolBarView
    extends com.google.gwt.user.client.ui.Composite
    implements org.uberfire.client.workbench.widgets.toolbar.WorkbenchToolBarPresenter.View
    The Tool Bar widget
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject

        com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
    • Field Summary

      Fields 
      Modifier and Type Field Description
      com.google.gwt.user.client.ui.FlowPanel container  
      com.google.gwt.user.client.ui.FlowPanel mainContainer  
      com.google.gwt.user.client.ui.SimplePanel simpleMargin  
      org.gwtbootstrap3.client.ui.Tooltip tip  
      org.gwtbootstrap3.client.ui.ButtonToolBar toolBar  
      com.google.gwt.user.client.ui.Button viewControl  
      • Fields inherited from class com.google.gwt.user.client.ui.UIObject

        DEBUG_ID_PREFIX
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addToolBar​(org.uberfire.workbench.model.toolbar.ToolBar _toolBar)  
      int getHeight()  
      void hide()  
      void removeToolBar​(org.uberfire.workbench.model.toolbar.ToolBar _toolBar)
      Remove a Tool Bar item from the view.
      void show()  
      • Methods inherited from class com.google.gwt.user.client.ui.Composite

        claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
      • Methods inherited from class com.google.gwt.user.client.ui.Widget

        addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
      • Methods inherited from class com.google.gwt.user.client.ui.UIObject

        addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
      • Methods inherited from interface com.google.gwt.user.client.ui.IsWidget

        asWidget
    • Field Detail

      • mainContainer

        @UiField
        public com.google.gwt.user.client.ui.FlowPanel mainContainer
      • container

        @UiField
        public com.google.gwt.user.client.ui.FlowPanel container
      • toolBar

        @UiField
        public org.gwtbootstrap3.client.ui.ButtonToolBar toolBar
      • simpleMargin

        @UiField
        public com.google.gwt.user.client.ui.SimplePanel simpleMargin
      • viewControl

        @UiField
        public com.google.gwt.user.client.ui.Button viewControl
      • tip

        @UiField
        public org.gwtbootstrap3.client.ui.Tooltip tip
    • Constructor Detail

      • WorkbenchToolBarView

        public WorkbenchToolBarView()
    • Method Detail

      • addToolBar

        public void addToolBar​(org.uberfire.workbench.model.toolbar.ToolBar _toolBar)
        Specified by:
        addToolBar in interface org.uberfire.client.workbench.widgets.toolbar.WorkbenchToolBarPresenter.View
      • removeToolBar

        public void removeToolBar​(org.uberfire.workbench.model.toolbar.ToolBar _toolBar)
        Remove a Tool Bar item from the view.
        Specified by:
        removeToolBar in interface org.uberfire.client.workbench.widgets.toolbar.WorkbenchToolBarPresenter.View
      • getHeight

        public int getHeight()
        Specified by:
        getHeight in interface org.uberfire.client.workbench.widgets.toolbar.WorkbenchToolBarPresenter.View
      • hide

        public void hide()
        Specified by:
        hide in interface org.uberfire.client.workbench.widgets.toolbar.WorkbenchToolBarPresenter.View
      • show

        public void show()
        Specified by:
        show in interface org.uberfire.client.workbench.widgets.toolbar.WorkbenchToolBarPresenter.View