Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Immediate cancellation of Progress Monitor Dialog
Immediate cancellation of Progress Monitor Dialog [message #334250] Thu, 29 January 2009 10:39 Go to next message
vikas  is currently offline vikas Friend
Messages: 10
Registered: July 2009
Junior Member
Hi
I have progress monitor dialog to display progress for long process.
I want to cancel it as soon as i click on Cancel button without waiting
for current task to be completed in progress monitor dialog. ( I don't
want
to wait till current task to be finished as it is happening now as my
current task might take a long time to finish)

It seems that it is not possible to Cancel progress monitor dialog
immediately.
Is there any other workaround for this requirement?
Any help will be highly appreciated.
Re: Immediate cancellation of Progress Monitor Dialog [message #334251 is a reply to message #334250] Thu, 29 January 2009 11:00 Go to previous message
Damian Philipp is currently offline Damian PhilippFriend
Messages: 30
Registered: July 2009
Member
Hello,

vikas schrieb:
> It seems that it is not possible to Cancel progress monitor dialog
> immediately. Is there any other workaround for this requirement?

I think the idea is that your long-running process periodically checks
the monitor, whether a cancel was requested and if so, performs this
cancellation.

By adjusting the frequency of these checks you can control the
"immediateness" of your cancellation.

Regards
Damian Philipp
Previous Topic:How to handle shortcuts in editor with different targets ?
Next Topic:Headless Build for Custom Builder
Goto Forum:
  


Current Time: Thu Apr 25 07:38:49 GMT 2024

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

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

Back to the top