public interface MenuService extends SciJavaService
| Modifier and Type | Method and Description |
|---|---|
default <T> T |
createMenus(MenuCreator<T> creator,
T menu)
Populates a UI-specific application menu structure.
|
default <T> T |
createMenus(String menuRoot,
MenuCreator<T> creator,
T menu)
Populates a UI-specific menu structure.
|
default ShadowMenu |
getMenu()
Gets the root node of the application menu structure.
|
ShadowMenu |
getMenu(String menuRoot)
Gets the root node of a menu structure.
|
initialize, registerEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposedefault ShadowMenu getMenu()
ShadowMenu getMenu(String menuRoot)
menuRoot - the root of the desired menu structure (see
UIDetails.getMenuRoot()).default <T> T createMenus(MenuCreator<T> creator, T menu)
creator - the MenuCreator to use to populate the menus.menu - the destination menu structure to populate.default <T> T createMenus(String menuRoot, MenuCreator<T> creator, T menu)
menuRoot - the root of the menu structure to generate (see
UIDetails.getMenuRoot()).creator - the MenuCreator to use to populate the menus.menu - the destination menu structure to populate.Copyright © 2015–2022 SciJava. All rights reserved.