public interface IToolBarManager
Modifier and Type | Method and Description |
---|---|
void |
addEmptyTemplate(String id,
String inheritFrom) |
void |
addTemplate(IToolBarTemplate template)
Adds the given template to the toolbar template manager.
|
JToolBar |
createToolBar(String id,
IWindow window)
Creates a concrete instance of the template that was specified by the id
parameter.
|
IToolBarTemplate |
getTemplate(String id)
Returns the template with the given id.
|
void addTemplate(IToolBarTemplate template)
template
- the template that should be added to the toolbar template
managerIToolBarTemplate getTemplate(String id)
id
- the id of the template to returnJToolBar createToolBar(String id, IWindow window)
id
- the id of the template from which the toolbar should be createdinstance
- an unique instance id for further access to the same toolbar