org.gudy.azureus2.ui.swt.mainwindow
Class MainMenu

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.mainwindow.MainMenu
All Implemented Interfaces:
IMainMenu

public class MainMenu
extends java.lang.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
 
Method Summary
protected  void buildSimpleViewMenu(org.eclipse.swt.widgets.Menu viewMenu)
           
 org.eclipse.swt.widgets.Menu getMenu(java.lang.String id)
           
 void linkMenuBar(org.eclipse.swt.widgets.Shell parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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(java.lang.String id)
Specified by:
getMenu in interface IMainMenu