Package com.biglybt.ui.swt.mainwindow
Class MainMenuV2
java.lang.Object
com.biglybt.ui.swt.mainwindow.MainMenuV2
- All Implemented Interfaces:
IMainMenu
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMainMenuV2
(org.eclipse.swt.widgets.Shell shell) Creates the main menu bar and attaches it to the given shell -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addCommunityMenu
(org.eclipse.swt.widgets.Shell parent) private void
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
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
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
-
Field Details
-
Constructor Details
-
MainMenuV2
public MainMenuV2(org.eclipse.swt.widgets.Shell shell) Creates the main menu bar and attaches it to the given shell
- Parameters:
shell
- A shell
-
-
Method Details
-
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
-
-
getMenu
-