@ApplicationScoped public class WorkbenchMenuBarView extends com.google.gwt.user.client.ui.Composite implements WorkbenchMenuBarPresenter.View
| Modifier and Type | Class and Description |
|---|---|
static interface |
WorkbenchMenuBarView.WorkbenchMenuNavBarView |
| Constructor and Description |
|---|
WorkbenchMenuBarView() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCollapseHandler(org.uberfire.mvp.Command command) |
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 |
addExpandHandler(org.uberfire.mvp.Command command) |
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 |
collapse() |
void |
enableContextMenuItem(String menuItemId,
boolean enabled) |
void |
enableMenuItem(String menuItemId,
boolean enabled) |
void |
expand() |
void |
selectMenuItem(String id) |
protected void |
setup() |
protected void |
setupNavBarCollapse() |
protected void |
setupToggle() |
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, 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()
protected void setupToggle()
protected void setupNavBarCollapse()
public void addMenuItem(String id, String label, String parentId, org.uberfire.mvp.Command command, org.uberfire.workbench.model.menu.MenuPosition position)
addMenuItem in interface WorkbenchMenuBarPresenter.Viewpublic void addCustomMenuItem(com.google.gwt.user.client.ui.Widget menu,
org.uberfire.workbench.model.menu.MenuPosition position)
addCustomMenuItem in interface WorkbenchMenuBarPresenter.Viewpublic void addGroupMenuItem(String id, String label, org.uberfire.workbench.model.menu.MenuPosition position)
addGroupMenuItem in interface WorkbenchMenuBarPresenter.Viewpublic void addContextMenuItem(String menuItemId, String id, String label, String parentId, org.uberfire.mvp.Command command, org.uberfire.workbench.model.menu.MenuPosition position)
addContextMenuItem in interface WorkbenchMenuBarPresenter.Viewpublic void addContextGroupMenuItem(String menuItemId, String id, String label, org.uberfire.workbench.model.menu.MenuPosition position)
addContextGroupMenuItem in interface WorkbenchMenuBarPresenter.Viewpublic void clear()
clear in interface WorkbenchMenuBarPresenter.Viewpublic void expand()
expand in interface WorkbenchMenuBarPresenter.Viewpublic void collapse()
collapse in interface WorkbenchMenuBarPresenter.Viewpublic void selectMenuItem(String id)
selectMenuItem in interface WorkbenchMenuBarPresenter.Viewpublic void addCollapseHandler(org.uberfire.mvp.Command command)
addCollapseHandler in interface WorkbenchMenuBarPresenter.Viewpublic void addExpandHandler(org.uberfire.mvp.Command command)
addExpandHandler in interface WorkbenchMenuBarPresenter.Viewpublic void enableMenuItem(String menuItemId, boolean enabled)
enableMenuItem in interface WorkbenchMenuBarPresenter.Viewpublic void enableContextMenuItem(String menuItemId, boolean enabled)
enableContextMenuItem in interface WorkbenchMenuBarPresenter.ViewCopyright © 2012–2016 JBoss by Red Hat. All rights reserved.