com.aelitis.azureus.ui.swt
Interface UIFunctionsSWT

All Superinterfaces:
AzureusCoreComponent, UIFunctions
All Known Implementing Classes:
UIFunctionsImpl

public interface UIFunctionsSWT
extends UIFunctions

Author:
TuxPaper

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.aelitis.azureus.ui.UIFunctions
UIFunctions.actionListener, UIFunctions.TagReturner
 
Field Summary
 
Fields inherited from interface com.aelitis.azureus.ui.UIFunctions
ACTION_FULL_UPDATE, ACTION_UPDATE_RESTART_REQUEST, MAIN_WINDOW_NAME, MAIN_WINDOW_NAME_PLUS, 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, VIEW_CONFIG, VIEW_DM_DETAILS, VIEW_MYTORRENTS, VS_ACTIVE, VS_MINIMIZED, VS_MINIMIZED_TO_TRAY, VS_TRAY_ONLY
 
Method Summary
 void addPluginView(String viewID, UISWTViewEventListener l)
           
 void closeAllDetails()
           
 void closeDownloadBars()
           
 void closeGlobalTransferBar()
           
 void closePluginView(UISWTViewCore view)
           
 void closePluginViews(String sViewID)
           
 IMainMenu createMainMenu(org.eclipse.swt.widgets.Shell shell)
          Creates the main application menu and attach it to the given Shell; this is only used for OSX so that we can attach the global menu to popup dialogs which is the expected behavior on OSX.
 TabbedMdiInterface createTabbedMDI(org.eclipse.swt.widgets.Composite parent, String id)
           
 org.eclipse.swt.widgets.Shell getMainShell()
           
 IMainStatusBar getMainStatusBar()
           
 IMainWindow getMainWindow()
           
 MultipleDocumentInterfaceSWT getMDISWT()
           
 UISWTView[] getPluginViews()
           
 UIToolBarManager getToolBarManager()
           
 UISWTInstance getUISWTInstance()
           
 boolean hasDetailViews()
           
 boolean isGlobalTransferBarShown()
           
 void openPluginView(String sParentID, String sViewID, UISWTViewEventListener l, Object dataSource, boolean bSetFocus)
           
 void openTorrentOpenOptions(org.eclipse.swt.widgets.Shell shell, String sPathOfFilesToOpen, String[] sFilesToOpen, boolean defaultToStopped, boolean forceOpen)
           
 void openTorrentOpenOptions(org.eclipse.swt.widgets.Shell shell, String sPathOfFilesToOpen, String[] sFilesToOpen, Map<String,Object> options)
           
 void openTorrentWindow()
           
 void promptForSearch()
           
 void refreshTorrentMenu()
           
 void removePluginView(String viewID)
           
 void setHideAll(boolean hidden)
           
 org.eclipse.swt.widgets.Shell showCoreWaitDlg()
           
 void showGlobalTransferBar()
           
 
Methods inherited from interface com.aelitis.azureus.ui.UIFunctions
addTorrentWithOptions, addTorrentWithOptions, adjustPXForDPI, bringToFront, bringToFront, dispose, doSearch, doSearch, forceNotify, getMDI, getUIType, getUIUpdater, getUserPrompter, getVisibilityState, installPlugin, isProgramInstalled, openRemotePairingWindow, openView, performAction, playOrStreamDataSource, promptUser, refreshIconBar, refreshLanguage, runOnUIThread, setStatusText, setStatusText, showCreateTagDialog, showErrorMessage, viewURL, viewURL, viewURL
 

Method Detail

getMainShell

org.eclipse.swt.widgets.Shell getMainShell()

addPluginView

void addPluginView(String viewID,
                   UISWTViewEventListener l)
Parameters:
viewID -
l -

closeDownloadBars

void closeDownloadBars()

isGlobalTransferBarShown

boolean isGlobalTransferBarShown()

showGlobalTransferBar

void showGlobalTransferBar()

closeGlobalTransferBar

void closeGlobalTransferBar()

getPluginViews

UISWTView[] getPluginViews()
Returns:

openPluginView

void openPluginView(String sParentID,
                    String sViewID,
                    UISWTViewEventListener l,
                    Object dataSource,
                    boolean bSetFocus)
Parameters:
sParentID -
sViewID -
l -
dataSource -
bSetFocus -

removePluginView

void removePluginView(String viewID)
Parameters:
viewID -

closePluginView

void closePluginView(UISWTViewCore view)
Parameters:
impl -

closePluginViews

void closePluginViews(String sViewID)

getUISWTInstance

UISWTInstance getUISWTInstance()

refreshTorrentMenu

void refreshTorrentMenu()

getMainStatusBar

IMainStatusBar getMainStatusBar()

createMainMenu

IMainMenu createMainMenu(org.eclipse.swt.widgets.Shell shell)
Creates the main application menu and attach it to the given Shell; 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)

openTorrentWindow

void openTorrentWindow()
Since:
5.0.0.1

openTorrentOpenOptions

void openTorrentOpenOptions(org.eclipse.swt.widgets.Shell shell,
                            String sPathOfFilesToOpen,
                            String[] sFilesToOpen,
                            boolean defaultToStopped,
                            boolean forceOpen)
Since:
5.0.0.1

openTorrentOpenOptions

void openTorrentOpenOptions(org.eclipse.swt.widgets.Shell shell,
                            String sPathOfFilesToOpen,
                            String[] sFilesToOpen,
                            Map<String,Object> options)
Parameters:
shell -
sPathOfFilesToOpen -
sFilesToOpen -
options - See UIFunctions constants
Since:
5.6.0.1

createTabbedMDI

TabbedMdiInterface createTabbedMDI(org.eclipse.swt.widgets.Composite parent,
                                   String id)
Parameters:
parent -
id - TODO
Since:
5.6.0.1