public interface MenuService
| Modifier and Type | Method and Description |
|---|---|
void |
addMenu(StandardMenu position,
MenuDef menuDef)
Adds menu entry into the main menu at the specified position.
|
void |
appendNewItemTo(StandardMenu position,
int subMenuPosition,
MenuDef menuDef)
Appends menu entry under the given standard menu at the specified position that defines
the target site within the given standard menu.
|
void addMenu(StandardMenu position, MenuDef menuDef)
position - The position where the new menu entry will be added.menuDef - The new menu entry.void appendNewItemTo(StandardMenu position, int subMenuPosition, MenuDef menuDef)
position - Defines the standard menu to which the new menu entry will be added as a sub menu.subMenuPosition - Defines the menu items site where the new menu entry will be added.menuDef - The new menu entry.