public class MenuController extends MenuControllerBaseImpl
| Constructor and Description |
|---|
MenuController() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(Action a) |
void |
addMenu(MvwMenu mi) |
void |
addMenuItem(MvwMenuItem mii)
Adds the specified menu item to our set of menu items.
|
void |
addSeparator(MvwSeparator msi) |
MvwMenu |
getBackgroundMenu(String name)
Return the specified background menu.
|
MvwMenu |
getMenu(String name) |
MvwMenu |
getPopupMenuForObject(org.dmd.dmc.DmcObject obj) |
MvwSubMenu |
getSubMenu(String name) |
void |
initializeMenus()
This method will be called by the MenuBuilder for the application once all menu
information has been added to the MenuController.
|
void |
removeSeparator(MvwSeparator msi) |
public MvwMenu getMenu(String name)
name - the name of the menu.public MvwSubMenu getSubMenu(String name)
public MvwMenu getPopupMenuForObject(org.dmd.dmc.DmcObject obj)
obj - the object for which we're looking for the menu.public MvwMenu getBackgroundMenu(String name)
name - The name of the menupublic void initializeMenus()
public void addAction(Action a)
public void addMenuItem(MvwMenuItem mii)
mii - public void addSeparator(MvwSeparator msi)
public void removeSeparator(MvwSeparator msi)
public void addMenu(MvwMenu mi)
Copyright © 2019. All rights reserved.