|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.refractions.udig.ui.UDIGMenuBuilder
public class UDIGMenuBuilder
This class builds the menus for the uDig application, it is being replaced with org.eclipse.ui.menus.
When uDig is run as a plugin, this class would need to be called by something other than the WorkbenchAdvisor in order to setup the menus. Some of these menus might be possible to let Eclipse manage through an extension point.
NewContribution should probably be moved to a factory class (e.g. UDIGContributionFactory). This would be similar to the way ContributionItemFactory works for the "Open Perspecive" and "Show View" submenus.
To enable this class please include the following in your plugin.xml:
<extension point="net.refractions.udig.ui.menuBuilders">
<menuBuilder
class="net.refractions.udig.ui.UDIGMenuBuilder"
id="net.refractions.udig.ui.uDigMenuBuilder"/>
</extension>
Field Summary |
---|
Fields inherited from interface net.refractions.udig.ui.MenuBuilder |
---|
ATTR_CLASS, ATTR_ID, XPID |
Constructor Summary | |
---|---|
UDIGMenuBuilder()
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UDIGMenuBuilder()
Method Detail |
---|
public void fillMenuBar(IMenuManager menuBar, IWorkbenchWindow window)
MenuBuilder
fillMenuBar
in interface MenuBuilder
menuBar
- window
- The window that contains this menupublic void fillCoolBar(ICoolBarManager coolBar, IWorkbenchWindow window)
MenuBuilder
fillCoolBar
in interface MenuBuilder
coolBar
- window
- The window that contains the CoolBar
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |