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