Package com.biglybt.ui.swt.shells.main
Class MainMenuV3
java.lang.Object
com.biglybt.ui.swt.shells.main.MainMenuV3
- All Implemented Interfaces:
IMainMenu
,IMenuConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.eclipse.swt.widgets.Menu
private static final String
private static final String
Fields inherited from interface com.biglybt.ui.swt.mainwindow.IMenuConstants
FOR_AZ2, FOR_AZ3, KEY_ENABLEMENT, KEY_MENU_ID, MENU_ID_ABOUT, MENU_ID_ADVANCED_TOOLS, MENU_ID_ALL_BLOCKS, MENU_ID_ALL_PEERS, MENU_ID_ALL_PIECES, MENU_ID_BETA_PROG, MENU_ID_BETA_PROG_BUG, MENU_ID_BUG_REPORT, MENU_ID_CLIENT_STATS, MENU_ID_CLOSE_ALL_DETAIL, MENU_ID_CLOSE_ALL_DL_BARS, MENU_ID_CLOSE_CURRENT_VIEW, MENU_ID_CLOSE_TAB, MENU_ID_COMMUNITY, MENU_ID_COMMUNITY_CHAT, MENU_ID_COMMUNITY_FORUMS, MENU_ID_COMMUNITY_WIKI, MENU_ID_CONFIGURE, MENU_ID_CONSOLE, MENU_ID_CREATE, MENU_ID_DEBUG_HELP, MENU_ID_DETAILED_LIST, MENU_ID_DEVICEMANAGER, MENU_ID_DONATE, MENU_ID_EXIT, MENU_ID_EXPORT, MENU_ID_FILE, MENU_ID_HELP, MENU_ID_IMPORT, MENU_ID_IP_FILTER, MENU_ID_LOG_VIEWS, MENU_ID_MENU_BAR, MENU_ID_MY_SHARES, MENU_ID_MY_TORRENTS, MENU_ID_MY_TRACKERS, MENU_ID_NAT_TEST, MENU_ID_NET_STATUS, MENU_ID_OPEN, MENU_ID_OPEN_TORRENT, MENU_ID_OPEN_TORRENT_FOR_TRACKING, MENU_ID_OPEN_URI, MENU_ID_OPEN_VUZE_FILE, MENU_ID_OPTIONS, MENU_ID_PAIRING, MENU_ID_PAUSE_TRANSFERS, MENU_ID_PAUSE_TRANSFERS_FOR, MENU_ID_PLUGINS, MENU_ID_PLUGINS_HELP, MENU_ID_PLUGINS_INSTALL_FROM_FILE, MENU_ID_PLUGINS_UNINSTALL, MENU_ID_QUICK_VIEW, MENU_ID_RELEASE_NOTES, MENU_ID_RESTART, MENU_ID_RESUME_TRANSFERS, MENU_ID_SEARCH_BAR, MENU_ID_SHARE, MENU_ID_SHARE_DIR, MENU_ID_SHARE_DIR_CONTENT, MENU_ID_SHARE_DIR_CONTENT_RECURSE, MENU_ID_SHARE_FILE, MENU_ID_SPEED_LIMITS, MENU_ID_SPEED_TEST, MENU_ID_START_ALL_TRANSFERS, MENU_ID_STATS, MENU_ID_STOP_ALL_TRANSFERS, MENU_ID_SUBSCRIPTIONS, MENU_ID_TOOLBAR, MENU_ID_TOOLS, MENU_ID_TORRENT, MENU_ID_TRANSFER_BAR, MENU_ID_TRANSFERS, MENU_ID_UPDATE_CHECK, MENU_ID_VIEW, MENU_ID_VOTE, MENU_ID_WHATS_NEW, MENU_ID_WINDOW, MENU_ID_WINDOW_ALL_TO_FRONT, MENU_ID_WINDOW_CLOSE, MENU_ID_WINDOW_MINIMIZE, MENU_ID_WINDOW_ZOOM, MENU_ID_WINDOW_ZOOM_MAXIMIZE, MENU_ID_WINDOW_ZOOM_RESTORE
-
Constructor Summary
ConstructorsConstructorDescriptionMainMenuV3
(SWTSkin skin, org.eclipse.swt.widgets.Shell shell) Creates the main menu on the supplied shell -
Method Summary
Modifier and TypeMethodDescriptionprivate void
private void
Creates the File menu and all its childrenprivate void
private void
Creates the Tools menu and all its childrenprivate void
Creates the Torrent menu and all its childrenprivate void
Creates the Help menu and all its childrenprivate void
Creates the Window menu and all its childrenprivate void
buildMenu
(org.eclipse.swt.widgets.Shell parent) private void
buildSimpleViewMenu
(org.eclipse.swt.widgets.Menu viewMenu, int accelerator) private void
builFileMenu
(org.eclipse.swt.widgets.Menu fileMenu) Builds the File menu dynamicallystatic org.eclipse.swt.widgets.MenuItem
createPluginBarMenuItem
(SWTSkin skin, org.eclipse.swt.widgets.Menu viewMenu, String textID, String configID, String viewID) static org.eclipse.swt.widgets.MenuItem
createQuickLinksMenuItem
(SWTSkin skin, org.eclipse.swt.widgets.Menu viewMenu, String textID, String configID, String viewID) org.eclipse.swt.widgets.Menu
-
Field Details
-
PREFIX_V2
- See Also:
-
PREFIX_V3
- See Also:
-
-
Constructor Details
-
MainMenuV3
Creates the main menu on the supplied shell- Parameters:
shell
-
-
-
Method Details
-
buildMenu
private void buildMenu(org.eclipse.swt.widgets.Shell parent) -
addFileMenu
private void addFileMenu()Creates the File menu and all its children -
builFileMenu
private void builFileMenu(org.eclipse.swt.widgets.Menu fileMenu) Builds the File menu dynamically- Parameters:
fileMenu
-
-
addSimpleViewMenu
private void addSimpleViewMenu() -
buildSimpleViewMenu
private void buildSimpleViewMenu(org.eclipse.swt.widgets.Menu viewMenu, int accelerator) - Parameters:
viewMenu
-- Since:
- 4.5.0.3
-
addCommunityMenu
private void addCommunityMenu() -
addToolsMenu
private void addToolsMenu()Creates the Tools menu and all its children -
addV3HelpMenu
private void addV3HelpMenu()Creates the Help menu and all its children -
addWindowMenu
private void addWindowMenu()Creates the Window menu and all its children -
addTorrentMenu
private void addTorrentMenu()Creates the Torrent menu and all its children -
getMenu
-
createPluginBarMenuItem
public static org.eclipse.swt.widgets.MenuItem createPluginBarMenuItem(SWTSkin skin, org.eclipse.swt.widgets.Menu viewMenu, String textID, String configID, String viewID) - Parameters:
viewMenu
-
-
createQuickLinksMenuItem
-