Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Show dialogs in background(how to show ui in background, thus it is hidden from user)
Show dialogs in background [message #894551] Mon, 09 July 2012 15:01
Andreas Hollmann is currently offline Andreas HollmannFriend
Messages: 20
Registered: June 2011
Location: Dresden
Junior Member
Hello,

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() );
dialog.setURL(url);
dialog.setBlockOnOpen(false);
dialog.open();


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/

Previous Topic:Tycho / WAR Product
Next Topic:user settings and preferences
Goto Forum:
  


Current Time: Fri Apr 26 13:24:23 GMT 2024

Powered by FUDForum. Page generated in 0.02914 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top