| net.refractions.udig.ui.MenuBuilder
All known Subclasses: net.refractions.udig.ui.UDIGMenuBuilder,
MenuBuilder | public interface MenuBuilder (Code) | | This class is used to configure a menu bar and a cool bar. This is called
when the workbench starts up. The uDig ActionBarAdvisor delegates to this
class.
The implementation of this interface that is called by the framework
is specified by the extension in the preferences under the key
'net.refractions.udig.ui/menuBuilder'. You can place this in your
product's plugin_customization.ini.
Example entry in plugin_customization.ini:
net.refractions.udig.ui/menuBuilder=net.refractions.udig.ui.UDIGMenuBuilder
See net.refractions.udig.ui.UDIGMenuBuilder for an example implementation.
author: rgould since: 1.1.0 |
Method Summary | |
abstract public void | fillCoolBar(ICoolBarManager coolBar, IWorkbenchWindow window) Instructs this class to configure and fill the provided ICoolBarManager
with actions and buttons. | abstract public void | fillMenuBar(IMenuManager menuBar, IWorkbenchWindow window) Instructs this class that it should configure and fill the provided
IMenuManager with menus and actions. |
ATTR_CLASS | final public String ATTR_CLASS(Code) | | Points to class field of extension point attribute
|
ATTR_ID | final public String ATTR_ID(Code) | | Points to id field of extension point attribute
|
fillCoolBar | abstract public void fillCoolBar(ICoolBarManager coolBar, IWorkbenchWindow window)(Code) | | Instructs this class to configure and fill the provided ICoolBarManager
with actions and buttons.
Parameters: coolBar - Parameters: window - The window that contains the CoolBar |
fillMenuBar | abstract public void fillMenuBar(IMenuManager menuBar, IWorkbenchWindow window)(Code) | | Instructs this class that it should configure and fill the provided
IMenuManager with menus and actions.
Parameters: menuBar - Parameters: window - The window that contains this menu |
|
|