Class WorkbenchMenuCompactNavBarView
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Composite
-
- org.uberfire.client.views.pfly.menu.WorkbenchMenuNavBarView
-
- org.uberfire.client.views.pfly.menu.WorkbenchMenuCompactNavBarView
-
- 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,WorkbenchMenuBarView.WorkbenchMenuNavBarView
@ApplicationScoped public class WorkbenchMenuCompactNavBarView extends WorkbenchMenuNavBarView
-
-
Field Summary
-
Fields inherited from class org.uberfire.client.views.pfly.menu.WorkbenchMenuNavBarView
navbarNav, UF_PERSPECTIVE_CONTEXT_MENU, UF_PERSPECTIVE_CONTEXT_MENU_CONTAINER, UF_PERSPECTIVE_CONTEXT_MENU_EMPTY
-
-
Constructor Summary
Constructors Constructor Description WorkbenchMenuCompactNavBarView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddContextGroupMenuItem(String menuItemId, String id, String label, org.uberfire.workbench.model.menu.MenuPosition position)voidaddContextMenuItem(String menuItemId, String id, String label, String parentId, org.uberfire.mvp.Command command, org.uberfire.workbench.model.menu.MenuPosition position)voidaddCustomMenuItem(com.google.gwt.user.client.ui.Widget menu, org.uberfire.workbench.model.menu.MenuPosition position)voidaddGroupMenuItem(String id, String label, org.uberfire.workbench.model.menu.MenuPosition position)voidaddMenuItem(String id, String label, String parentId, org.uberfire.mvp.Command command, org.uberfire.workbench.model.menu.MenuPosition position)voidclear()voidclearContextMenu()protected com.google.common.collect.Multimap<String,com.google.gwt.user.client.ui.ComplexPanel>getMenuItemContextMenus()protected voidselectElement(com.google.gwt.user.client.ui.ComplexPanel item)voidselectMenuItem(String id)protected voidsetup()-
Methods inherited from class org.uberfire.client.views.pfly.menu.WorkbenchMenuNavBarView
enableContextMenuItem, enableMenuItem, getContextContainerWidgetMap, getMenuItemContextWidgetMap, getMenuItemWidgetMap, setContextMenuItemVisible, setMenuItemVisible
-
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
-
-
-
-
Method Detail
-
setup
@PostConstruct protected void setup()
- Overrides:
setupin classWorkbenchMenuNavBarView
-
addMenuItem
public void addMenuItem(String id, String label, String parentId, org.uberfire.mvp.Command command, org.uberfire.workbench.model.menu.MenuPosition position)
-
addCustomMenuItem
public void addCustomMenuItem(com.google.gwt.user.client.ui.Widget menu, org.uberfire.workbench.model.menu.MenuPosition position)
-
addGroupMenuItem
public void addGroupMenuItem(String id, String label, org.uberfire.workbench.model.menu.MenuPosition position)
-
addContextMenuItem
public void addContextMenuItem(String menuItemId, String id, String label, String parentId, org.uberfire.mvp.Command command, org.uberfire.workbench.model.menu.MenuPosition position)
-
addContextGroupMenuItem
public void addContextGroupMenuItem(String menuItemId, String id, String label, org.uberfire.workbench.model.menu.MenuPosition position)
-
clearContextMenu
public void clearContextMenu()
- Specified by:
clearContextMenuin interfaceWorkbenchMenuBarView.WorkbenchMenuNavBarView- Overrides:
clearContextMenuin classWorkbenchMenuNavBarView
-
selectMenuItem
public void selectMenuItem(String id)
- Specified by:
selectMenuItemin interfaceWorkbenchMenuBarView.WorkbenchMenuNavBarView- Overrides:
selectMenuItemin classWorkbenchMenuNavBarView
-
clear
public void clear()
- Specified by:
clearin interfaceWorkbenchMenuBarView.WorkbenchMenuNavBarView- Overrides:
clearin classWorkbenchMenuNavBarView
-
selectElement
protected void selectElement(com.google.gwt.user.client.ui.ComplexPanel item)
- Specified by:
selectElementin classWorkbenchMenuNavBarView
-
getMenuItemContextMenus
protected com.google.common.collect.Multimap<String,com.google.gwt.user.client.ui.ComplexPanel> getMenuItemContextMenus()
-
-