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

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 :

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

Current Time: Wed Dec 08 16:54:46 GMT 2021

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

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

Back to the top