Interface UIFunctionsSWT

    • Method Detail

      • getMainShell

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

        void closeDownloadBars()
      • isGlobalTransferBarShown

        boolean isGlobalTransferBarShown()
      • showGlobalTransferBar

        void showGlobalTransferBar()
      • closeGlobalTransferBar

        void closeGlobalTransferBar()
      • getPluginViews

        UISWTView[] getPluginViews()
        Returns:
      • refreshTorrentMenu

        void refreshTorrentMenu()
      • 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:
      • closeAllDetails

        void closeAllDetails()
        Since:
        3.1.1.1
      • hasDetailViews

        boolean hasDetailViews()
        Returns:
        Since:
        3.1.1.1
      • showCoreWaitDlg

        org.eclipse.swt.widgets.Shell showCoreWaitDlg()
      • promptForSearch

        void promptForSearch()
      • setHideAll

        void setHideAll​(boolean hidden)
      • getHideAll

        boolean getHideAll()
      • openTorrentWindow

        void openTorrentWindow()
        Since:
        5.0.0.1
      • openTorrentOpenOptions

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

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