net.refractions.udig.ui
Class UDIGMenuBuilder

java.lang.Object
  extended by net.refractions.udig.ui.UDIGMenuBuilder

public class UDIGMenuBuilder
extends java.lang.Object

This class builds the menus for the uDig application.

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.

Since:
1.0.1
Author:
cole.markham

Constructor Summary
UDIGMenuBuilder()
           
 
Method Summary
 void fillCoolBar(ICoolBarManager coolBar, IWorkbenchWindow window)
           
 void fillMenuBar(IMenuManager menuBar, IWorkbenchWindow window)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UDIGMenuBuilder

public UDIGMenuBuilder()
Method Detail

fillMenuBar

public void fillMenuBar(IMenuManager menuBar,
                        IWorkbenchWindow window)
Parameters:
menuBar -
window - The window that contains this menu

fillCoolBar

public void fillCoolBar(ICoolBarManager coolBar,
                        IWorkbenchWindow window)
Parameters:
coolBar -
window - The window that contains the CoolBar