Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
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: platform-debug-dev-admin@xxxxxxxxxxx

01/08/2003 04:15 PM
Please respond to platform-debug-dev

       
        To:        platform-debug-dev@xxxxxxxxxxx
        cc:        
        Subject:        Re: [platform-debug-dev] Handling of 'Cancel' button in LCD




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@IBMCA
Sent by: platform-debug-dev-admin@xxxxxxxxxxx

01/08/2003 09:36 AM
Please respond to platform-debug-dev

       
       To:        platform-debug-dev@xxxxxxxxxxx

       cc:        

       Subject:        [platform-debug-dev] Handling of 'Cancel' button in LCD




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





Back to the top