@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 |
clearContextMenu() |
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, 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()
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.View
public void addCustomMenuItem(com.google.gwt.user.client.ui.Widget menu, org.uberfire.workbench.model.menu.MenuPosition position)
addCustomMenuItem
in interface WorkbenchMenuBarPresenter.View
public void addGroupMenuItem(String id, String label, org.uberfire.workbench.model.menu.MenuPosition position)
addGroupMenuItem
in interface WorkbenchMenuBarPresenter.View
public 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.View
public void addContextGroupMenuItem(String menuItemId, String id, String label, org.uberfire.workbench.model.menu.MenuPosition position)
addContextGroupMenuItem
in interface WorkbenchMenuBarPresenter.View
public void clearContextMenu()
clearContextMenu
in interface WorkbenchMenuBarPresenter.View
public void clear()
clear
in interface WorkbenchBaseMenuView
clear
in interface WorkbenchMenuBarPresenter.View
public void expand()
expand
in interface WorkbenchMenuBarPresenter.View
public void collapse()
collapse
in interface WorkbenchMenuBarPresenter.View
public void selectMenuItem(String id)
selectMenuItem
in interface WorkbenchMenuBarPresenter.View
public void addCollapseHandler(org.uberfire.mvp.Command command)
addCollapseHandler
in interface WorkbenchMenuBarPresenter.View
public void addExpandHandler(org.uberfire.mvp.Command command)
addExpandHandler
in interface WorkbenchMenuBarPresenter.View
public void enableMenuItem(String menuItemId, boolean enabled)
enableMenuItem
in interface WorkbenchMenuBarPresenter.View
public void enableContextMenuItem(String menuItemId, boolean enabled)
enableContextMenuItem
in interface WorkbenchMenuBarPresenter.View
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.