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 voidaddCommunityMenu(org.eclipse.swt.widgets.Shell parent) private voidCreates the File menu and all its childrenprivate voidaddPluginsMenu(org.eclipse.swt.widgets.Shell parent) Creates the Plugins menu and all its childrenprivate voidCreates the Tools menu and all its childrenprivate voidaddTorrentMenu(org.eclipse.swt.widgets.Shell parent) Creates the Torrent menu and all its childrenprivate voidCreates the Transfer menu and all its childrenprivate voidaddV2HelpMenu(org.eclipse.swt.widgets.Shell parent) Creates the Help menu and all its childrenprivate voidaddViewMenu(org.eclipse.swt.widgets.Shell parent) Creates the View menu and all its childrenprivate voidaddWindowMenu(org.eclipse.swt.widgets.Shell parent) Creates the Window menu and all its childrenprotected voidbuildSimpleViewMenu(org.eclipse.swt.widgets.Menu viewMenu) private voidcreateMenus(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
-