/* (non-Javadoc) * @see com.aelitis.azureus.ui.swt.UIFunctionsSWT#openTorrentOpenOptions(org.eclipse.swt.widgets.Shell, java.lang.String, java.lang.String[], boolean, boolean, boolean) */ public void openTorrentOpenOptions( Shell shell, String sPathOfFilesToOpen, String[] sFilesToOpen, boolean defaultToStopped, boolean forceOpen) { TorrentOpenOptions torrentOptions = new TorrentOpenOptions(); if (defaultToStopped) { torrentOptions.iStartID = TorrentOpenOptions.STARTMODE_STOPPED; } if (sFilesToOpen == null) { new OpenTorrentWindow(shell); } else { // with no listener, Downloader will open options window if user configured TorrentOpener.openTorrentsFromStrings( torrentOptions, shell, sPathOfFilesToOpen, sFilesToOpen, null, null, forceOpen); } }