[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-debug-dev] Handling of 'Cancel' button in LCD
|
Darin, Joe,
I was just wondering if I need to run a task which is not allowed to be
interrupted. Is there an easy way for me to disable a 'Cancel' button in
the
Launch Configuration Dialog?
I didn't see anything apparent in the IProgressMonitor class.
Thanks,
Vadim.
Internet: berestet@xxxxxxxxxx
|---------+------------------------------------>
| | Joseph |
| | Szurszewski/Minneapolis/I|
| | BM@IBMUS |
| | Sent by: |
| | platform-debug-dev-admin@|
| | eclipse.org |
| | |
| | |
| | 01/08/2003 05:59 PM |
| | Please respond to |
| | platform-debug-dev |
| | |
|---------+------------------------------------>
>-----------------------------------------------------------------------------------------------------------|
| |
| To: platform-debug-dev@xxxxxxxxxxx |
| cc: |
| Subject: Re: [platform-debug-dev] Handling of 'Cancel' button in LCD |
| |
| |
>-----------------------------------------------------------------------------------------------------------|
I had replied to this earlier, but apparently the mail transition ate it.
For an example of this in action, see
org.eclipse.jdt.internal.launching.JavaLocalApplicationLaunchConfigurationDelegate.launch
).
Joe
Darin_Wright@xxxxxxxxxx
Sent by: To:
platform-debug-dev-admin@ec platform-debug-dev@xxxxxxxxxxx
lipse.org cc:
Subject: Re:
[platform-debug-dev] Handling of 'Cancel'
01/08/2003 04:15 PM button in LCD
Please respond to
platform-debug-dev
Launch delegates are responsible for handling the cancel button. A launch
delegate is passed a progress monitor, and the delegate should regularly
poll the monitor to see if it has been cancelled. When cancelled, the
delegate should perform any clean-up and return.
Darin
Vadim
Berestetsky/Toronto/IBM@IBMC To:
A platform-debug-dev@xxxxxxxxxxx
Sent by: cc:
platform-debug-dev-admin@ecl Subject:
ipse.org [platform-debug-dev] Handling of 'Cancel'
button in LCD
01/08/2003 09:36 AM
Please respond to
platform-debug-dev
I don't seem to recall any discussion on this subject and therefore decided
to ask this question in the list.
I also did not find much documentation about handling of 'Cancel' button.
If there is some, please point
me to it.
I wonder whether individual launch configurations need to handle the
processing of 'Cancel'
button in the LCD. If they do, what is the API?
My launch configuration delegates sometime performs 'final checks' that do
take significant
amount of time. In this case, 'Cancel' button is shown in the LCD. However,
it is not clear to
me what the effect of clicking on this 'Cancel' button is. Does framework
take care of it or
should I do some processing in my code.
Thanks,
Vadim Berestetsky
Distributed Debugger Development
Phone (905) 413-4403; T/L 969-4403
Internet: berestet@xxxxxxxxxx
_______________________________________________
platform-debug-dev mailing list
platform-debug-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-debug-dev