public interface IMenuBarManager
| Modifier and Type | Method and Description |
|---|---|
void |
addEmptyTemplate(String id,
String inheritFrom) |
void |
addTemplate(IMenuTemplate template)
Adds the given template to the menu template manager.
|
JMenuBar |
createMenuBar(String id,
IWindow window)
Creates a concrete instance of the template that was specified by the id
parameter.
|
IMenuTemplate |
getTemplate(String id) |
void addTemplate(IMenuTemplate template)
template - the template that should be added to the menu template managerJMenuBar createMenuBar(String id, IWindow window)
id - the id of the template from which the menu should be createdinstance - an unique instance id for further access to the same menu barIMenuTemplate getTemplate(String id)