Package com.biglybt.ui.swt.mainwindow
Class MainMenuV2
- java.lang.Object
-
- com.biglybt.ui.swt.mainwindow.MainMenuV2
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.swt.widgets.Menu
menuBar
-
Constructor Summary
Constructors Constructor Description MainMenuV2(org.eclipse.swt.widgets.Shell shell)
Creates the main menu bar and attaches it to the given shell
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
addCommunityMenu(org.eclipse.swt.widgets.Shell parent)
private void
addFileMenu()
Creates the File menu and all its childrenprivate void
addPluginsMenu(org.eclipse.swt.widgets.Shell parent)
Creates the Plugins menu and all its childrenprivate void
addToolsMenu()
Creates the Tools menu and all its childrenprivate void
addTorrentMenu(org.eclipse.swt.widgets.Shell parent)
Creates the Torrent menu and all its childrenprivate void
addTransferMenu()
Creates the Transfer menu and all its childrenprivate void
addV2HelpMenu(org.eclipse.swt.widgets.Shell parent)
Creates the Help menu and all its childrenprivate void
addViewMenu(org.eclipse.swt.widgets.Shell parent)
Creates the View menu and all its childrenprivate void
addWindowMenu(org.eclipse.swt.widgets.Shell parent)
Creates the Window menu and all its childrenprotected void
buildSimpleViewMenu(org.eclipse.swt.widgets.Menu viewMenu)
private void
createMenus(org.eclipse.swt.widgets.Shell parent)
org.eclipse.swt.widgets.Menu
getMenu(java.lang.String id)
-
-
-
Method Detail
-
createMenus
private void createMenus(org.eclipse.swt.widgets.Shell parent)
-
addWindowMenu
private void addWindowMenu(org.eclipse.swt.widgets.Shell parent)
Creates the Window menu and all its children- Parameters:
parent
-
-
addFileMenu
private void addFileMenu()
Creates the File menu and all its children
-
addTransferMenu
private void addTransferMenu()
Creates the Transfer menu and all its children
-
addViewMenu
private void addViewMenu(org.eclipse.swt.widgets.Shell parent)
Creates the View menu and all its children- Parameters:
parent
-
-
buildSimpleViewMenu
protected void buildSimpleViewMenu(org.eclipse.swt.widgets.Menu viewMenu)
-
addTorrentMenu
private void addTorrentMenu(org.eclipse.swt.widgets.Shell parent)
Creates the Torrent menu and all its children- Parameters:
parent
-
-
addToolsMenu
private void addToolsMenu()
Creates the Tools menu and all its children- Parameters:
parent
-
-
addPluginsMenu
private void addPluginsMenu(org.eclipse.swt.widgets.Shell parent)
Creates the Plugins menu and all its children- Parameters:
parent
-
-
addCommunityMenu
private void addCommunityMenu(org.eclipse.swt.widgets.Shell parent)
-
addV2HelpMenu
private void addV2HelpMenu(org.eclipse.swt.widgets.Shell parent)
Creates the Help menu and all its children- Parameters:
parent
-
-
-