Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Canceling a command on execution ?
Canceling a command on execution ? [message #205720] Wed, 21 December 2005 10:52 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:Documentation for GEF 3.2M3
Next Topic:How can create a connection between a node and a Connection
Goto Forum:
  


Current Time: Mon Jan 20 17:17:59 GMT 2025

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

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

Back to the top