public class DefaultMenuService extends AbstractService implements MenuService
ShadowMenu
Constructor and Description |
---|
DefaultMenuService() |
Modifier and Type | Method and Description |
---|---|
ShadowMenu |
getMenu(String menuRoot)
Gets the root node of a menu structure.
|
protected void |
onEvent(ModulesAddedEvent event) |
protected void |
onEvent(ModulesRemovedEvent event) |
protected void |
onEvent(ModulesUpdatedEvent event) |
getContext, setContext, toString
getInfo, getPriority, setInfo, setPriority
context
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createMenus, createMenus, getMenu
initialize, registerEventHandlers
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
dispose
public ShadowMenu getMenu(String menuRoot)
MenuService
getMenu
in interface MenuService
menuRoot
- the root of the desired menu structure (see
UIDetails.getMenuRoot()
).protected void onEvent(ModulesAddedEvent event)
protected void onEvent(ModulesRemovedEvent event)
protected void onEvent(ModulesUpdatedEvent event)
Copyright © 2015–2022 SciJava. All rights reserved.