@ApplicationScoped public class WorkbenchMenuCompactNavBarView extends WorkbenchMenuNavBarView
navbarNav, UF_PERSPECTIVE_CONTEXT_MENU, UF_PERSPECTIVE_CONTEXT_MENU_CONTAINER, UF_PERSPECTIVE_CONTEXT_MENU_EMPTY
Constructor and Description |
---|
WorkbenchMenuCompactNavBarView() |
Modifier and Type | Method and Description |
---|---|
void |
addContextGroupMenuItem(String menuItemId,
String id,
String label,
org.uberfire.workbench.model.menu.MenuPosition position) |
void |
addContextMenuItem(String menuItemId,
String id,
String label,
String parentId,
org.uberfire.mvp.Command command,
org.uberfire.workbench.model.menu.MenuPosition position) |
void |
addCustomMenuItem(com.google.gwt.user.client.ui.Widget menu,
org.uberfire.workbench.model.menu.MenuPosition position) |
void |
addGroupMenuItem(String id,
String label,
org.uberfire.workbench.model.menu.MenuPosition position) |
void |
addMenuItem(String id,
String label,
String parentId,
org.uberfire.mvp.Command command,
org.uberfire.workbench.model.menu.MenuPosition position) |
void |
clear() |
void |
clearContextMenu() |
protected com.google.common.collect.Multimap<String,com.google.gwt.user.client.ui.ComplexPanel> |
getMenuItemContextMenus() |
protected void |
selectElement(com.google.gwt.user.client.ui.ComplexPanel item) |
void |
selectMenuItem(String id) |
protected void |
setup() |
enableContextMenuItem, enableMenuItem, getContextContainerWidgetMap, getMenuItemContextWidgetMap, getMenuItemWidgetMap
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
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
@PostConstruct protected void setup()
setup
in class WorkbenchMenuNavBarView
public void addMenuItem(String id, String label, String parentId, org.uberfire.mvp.Command command, org.uberfire.workbench.model.menu.MenuPosition position)
public void addCustomMenuItem(com.google.gwt.user.client.ui.Widget menu, org.uberfire.workbench.model.menu.MenuPosition position)
public void addGroupMenuItem(String id, String label, org.uberfire.workbench.model.menu.MenuPosition position)
public void addContextMenuItem(String menuItemId, String id, String label, String parentId, org.uberfire.mvp.Command command, org.uberfire.workbench.model.menu.MenuPosition position)
public void addContextGroupMenuItem(String menuItemId, String id, String label, org.uberfire.workbench.model.menu.MenuPosition position)
public void clearContextMenu()
clearContextMenu
in interface WorkbenchMenuBarView.WorkbenchMenuNavBarView
clearContextMenu
in class WorkbenchMenuNavBarView
public void selectMenuItem(String id)
selectMenuItem
in interface WorkbenchMenuBarView.WorkbenchMenuNavBarView
selectMenuItem
in class WorkbenchMenuNavBarView
public void clear()
clear
in interface WorkbenchMenuBarView.WorkbenchMenuNavBarView
clear
in class WorkbenchMenuNavBarView
protected void selectElement(com.google.gwt.user.client.ui.ComplexPanel item)
selectElement
in class WorkbenchMenuNavBarView
protected com.google.common.collect.Multimap<String,com.google.gwt.user.client.ui.ComplexPanel> getMenuItemContextMenus()
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.