|
Re: Dialog for long running operations [message #672042 is a reply to message #671841] |
Thu, 19 May 2011 16:43 |
|
Hi Jens,
> how is the best way to display a dialog to show that a long running
> operation is in progress ?.
> I have found a few solutions but, i hope there is a better way. I have
> found three solutions at the moment:
I think that the ProgressMonitorDialog is the natural choice to display
progress in a dialog. Which features are you missing?
> Furthermore, I have seen that the mouse cursor change when the request
> from the server needs more time. How does it work ?
This is a feature of the RAP client. Lifecycle requests are supposed to
be answered immediately. If they don't return after ~500ms, the client
changes the cursor. If you see this often, this can indicate that you do
too much work in the UIThread.
There is also API in SWT to display a busy cursor: check out
BusyIndicator#showWhile( ... ).
Regards, Ralf
--
Ralf Sternberg
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
|
Powered by
FUDForum. Page generated in 0.03294 seconds