Interface UIFunctionsSWT
- All Superinterfaces:
CoreComponent, UIFunctions
- All Known Implementing Classes:
MainWindowDelayStub.UIFunctionsSWTImpl, UIFunctionsImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface UIFunctions
UIFunctions.actionListener, UIFunctions.TagReturner -
Field Summary
Fields inherited from interface UIFunctions
ACTION_FULL_UPDATE, ACTION_UPDATE_RESTART_REQUEST, MAIN_WINDOW_NAME, OTO_DEFAULT_SAVE_PATH, OTO_DEFAULT_SAVE_PATH_DEFAULT, OTO_DEFAULT_TO_STOPPED, OTO_DEFAULT_TO_STOPPED_DEFAULT, OTO_FORCE_OPEN, OTO_FORCE_OPEN_DEFAULT, OTO_HIDE_ERRORS, OTO_HIDE_ERRORS_DEFAULT, OTO_SILENT, OTO_SILENT_DEFAULT, STATUSICON_ERROR, STATUSICON_NONE, STATUSICON_WARNING, VS_ACTIVE, VS_MINIMIZED, VS_MINIMIZED_TO_TRAY, VS_TRAY_ONLY -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidcreateMainMenu(org.eclipse.swt.widgets.Shell shell) Creates the main application menu and attach it to the givenShell; this is only used for OSX so that we can attach the global menu to popup dialogs which is the expected behavior on OSX.booleanorg.eclipse.swt.widgets.ShellbooleanbooleanvoidopenPluginView(UISWTViewBuilderCore builder, boolean bSetFocus) voidopenTorrentOpenOptions(org.eclipse.swt.widgets.Shell shell, String sPathOfFilesToOpen, String[] sFilesToOpen, boolean defaultToStopped, boolean forceOpen) voidopenTorrentOpenOptions(org.eclipse.swt.widgets.Shell shell, String sPathOfFilesToOpen, String[] sFilesToOpen, Map<String, Object> options) voidvoidvoidvoidsetHideAll(boolean hidden) org.eclipse.swt.widgets.ShellvoidMethods inherited from interface UIFunctions
addTorrentWithOptions, addTorrentWithOptions, bringToFront, bringToFront, copyToClipboard, dispose, dispose, doSearch, doSearch, forceNotify, getMDI, getTorrentOptions, getUIType, getUIUpdater, getUserPrompter, getVisibilityState, installPlugin, isProgramInstalled, isUIThread, openRemotePairingWindow, performAction, playOrStreamDataSource, popStatusText, promptUser, pushStatusText, refreshIconBar, refreshLanguage, runOnUIThread, setStatusText, setStatusText, showCreateTagDialog, showErrorMessage, showInExplorer, showText, tableColumnAddedListeners, viewURL, viewURL, viewURL
-
Method Details
-
getMainShell
org.eclipse.swt.widgets.Shell getMainShell() -
closeDownloadBars
void closeDownloadBars() -
isGlobalTransferBarShown
boolean isGlobalTransferBarShown() -
showGlobalTransferBar
void showGlobalTransferBar() -
closeGlobalTransferBar
void closeGlobalTransferBar() -
getPluginViews
UISWTView[] getPluginViews()- Returns:
-
openPluginView
-
getUISWTInstance
UISWTInstance getUISWTInstance() -
refreshTorrentMenu
void refreshTorrentMenu() -
getMainStatusBar
IMainStatusBar getMainStatusBar() -
createMainMenu
Creates the main application menu and attach it to the givenShell; this is only used for OSX so that we can attach the global menu to popup dialogs which is the expected behavior on OSX. Windows and Linux do not require this since they do not have a global menu and because their main menu is already attached to the main application window.- Parameters:
shell-- Returns:
-
getMainWindow
IMainWindow getMainWindow() -
closeAllDetails
void closeAllDetails()- Since:
- 3.1.1.1
-
hasDetailViews
boolean hasDetailViews()- Returns:
- Since:
- 3.1.1.1
-
showCoreWaitDlg
org.eclipse.swt.widgets.Shell showCoreWaitDlg() -
getMDISWT
MultipleDocumentInterfaceSWT getMDISWT() -
promptForSearch
void promptForSearch() -
getToolBarManager
UIToolBarManager getToolBarManager() -
setHideAll
void setHideAll(boolean hidden) -
getHideAll
boolean getHideAll() -
openTorrentWindow
void openTorrentWindow()- Since:
- 5.0.0.1
-
openTorrentOpenOptions
-
openTorrentOpenOptions
-