|Show dialogs in background [message #894551]
||Mon, 09 July 2012 15:01
| Andreas Hollmann
Registered: June 2011
I want to start download after a download-button was clicked.
Currently I open a helper-dialog with browser-control and set the URL of the browser to the file I want to download. The download starts after the dialog will be opened, and second time after the dialog is closed.
I want to hide the helper-dialog from user and tried following code:
final DownloadDialog dialog = new DownloadDialog(display.getActiveShell());
String url = createDownloadUrl( archiveFile.getCanonicalPath() );
In this thread is described how to wrap a browser in a dialog to allow the download : http://www.eclipse.org/forums/index.php/m/657553/
Powered by FUDForum
. Page generated in 0.02570 seconds