net.refractions.udig.ui
Interface MenuBuilder

All Known Implementing Classes:
UDIGMenuBuilder

Deprecated. Please use org.eclipse.ui.menus extension point

public interface MenuBuilder

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.

Since:
1.1.0
Author:
Richard Gould, Refractions Research Inc.

Field Summary
static java.lang.String ATTR_CLASS
          Deprecated. Points to class field of extension point attribute
static java.lang.String ATTR_ID
          Deprecated. Points to id field of extension point attribute
static java.lang.String XPID
          Deprecated.  
 
Method Summary
 void fillCoolBar(ICoolBarManager coolBar, IWorkbenchWindow window)
          Deprecated. Instructs this class to configure and fill the provided ICoolBarManager with actions and buttons.
 void fillMenuBar(IMenuManager menuBar, IWorkbenchWindow window)
          Deprecated. Instructs this class that it should configure and fill the provided IMenuManager with menus and actions.
 

Field Detail

XPID

static final java.lang.String XPID
Deprecated. 
See Also:
Constant Field Values

ATTR_ID

static final java.lang.String ATTR_ID
Deprecated. 
Points to id field of extension point attribute

See Also:
Constant Field Values

ATTR_CLASS

static final java.lang.String ATTR_CLASS
Deprecated. 
Points to class field of extension point attribute

See Also:
Constant Field Values
Method Detail

fillMenuBar

void fillMenuBar(IMenuManager menuBar,
                 IWorkbenchWindow window)
Deprecated. 
Instructs this class that it should configure and fill the provided IMenuManager with menus and actions.

Parameters:
menuBar -
window - The window that contains this menu

fillCoolBar

void fillCoolBar(ICoolBarManager coolBar,
                 IWorkbenchWindow window)
Deprecated. 
Instructs this class to configure and fill the provided ICoolBarManager with actions and buttons.

Parameters:
coolBar -
window - The window that contains the CoolBar