Canceling a command on execution ? [message #205720] |
Wed, 21 December 2005 10:52 |
Eclipse User |
|
|
|
Originally posted by: odo.nightworkers.net
Hi,
i want to cancel a command. How can i do it ?
At the moment I`m trying to open
a detail dialog with a command and want to cancel that command when
the cancel button is pressed. Is there a best practice for this ?
Best Regards,
odo
T
|
|
|
Re: Canceling a command on execution ? [message #205776 is a reply to message #205720] |
Wed, 21 December 2005 17:41 |
Eclipse User |
|
|
|
Originally posted by: ingo.koch[nospam].sap.com
Why do you open the dialog with a command?
I would wrap the changes you can do in this dialog in a command.
a command is kind of atomic and cannot be cancelled, only undone.
Regards, Ingo
"Oliver Dohmen" <odo@nightworkers.net> wrote in message
news:57ED23ED-6BAB-4807-8447-FFFEB2D1C850%odo@nightworkers.net...
> Hi,
>
> i want to cancel a command. How can i do it ?
>
> At the moment I`m trying to open
> a detail dialog with a command and want to cancel that command when
> the cancel button is pressed. Is there a best practice for this ?
>
> Best Regards,
>
> odo
>
> T
>
|
|
|
Powered by
FUDForum. Page generated in 0.03198 seconds