za.co.bluesphere.sens.ui
Class SENSMenuBuilder
java.lang.Object
za.co.bluesphere.sens.ui.SENSMenuBuilder
public class SENSMenuBuilder
- 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
|
Method Summary |
void |
fillCoolBar(org.eclipse.jface.action.ICoolBarManager coolBar,
org.eclipse.ui.IWorkbenchWindow window)
|
void |
fillMenuBar(org.eclipse.jface.action.IMenuManager menuBar,
org.eclipse.ui.IWorkbenchWindow window)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SENSMenuBuilder
public SENSMenuBuilder()
fillMenuBar
public void fillMenuBar(org.eclipse.jface.action.IMenuManager menuBar,
org.eclipse.ui.IWorkbenchWindow window)
- Parameters:
menuBar - window - The window that contains this menu
fillCoolBar
public void fillCoolBar(org.eclipse.jface.action.ICoolBarManager coolBar,
org.eclipse.ui.IWorkbenchWindow window)
- Parameters:
coolBar - window - The window that contains the CoolBar