org.gudy.azureus2.ui.swt.mainwindow
Class MainMenu
java.lang.Object
org.gudy.azureus2.ui.swt.mainwindow.MainMenu
- All Implemented Interfaces:
- IMainMenu
public class MainMenu
- extends Object
- implements IMainMenu
- Author:
- Olivier Chalouhi
Constructor Summary |
MainMenu(org.eclipse.swt.widgets.Shell shell)
Creates the main menu bar and attaches it to the given shell |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MainMenu
public MainMenu(org.eclipse.swt.widgets.Shell shell)
Creates the main menu bar and attaches it to the given shell
- Parameters:
shell
- A shell
linkMenuBar
public void linkMenuBar(org.eclipse.swt.widgets.Shell parent)
buildSimpleViewMenu
protected void buildSimpleViewMenu(org.eclipse.swt.widgets.Menu viewMenu)
getMenu
public org.eclipse.swt.widgets.Menu getMenu(String id)
- Specified by:
getMenu
in interface IMainMenu