|
Re: CreationTool undo [message #244537 is a reply to message #244514] |
Thu, 24 July 2008 16:15 |
Eclipse User |
|
|
|
Originally posted by: shady_86.sify.com
you mean you didnt clicked the mouse and then also the model is created?
if this is the case then you should better check where you are adding the model.
try to do the add operation in your execute method of your command and not in your edit policy..,
|
|
|
Re: CreationTool undo [message #244588 is a reply to message #244514] |
Mon, 28 July 2008 08:38 |
Eclipse User |
|
|
|
Originally posted by: lifesting.gmail.com
Balint Persics wrote:
> Hi all,
>
> When I want to create a new element in my model, and use a graphical
> editor with it, the following happens:
> - 1. Select the CreationTool in the Palette
> - 2. Move the CreationTool to the editor area to create a new element
> - 3. Press the ESC key (Cancel creation).
>
> In this case the model has already changed (the element has been created
> and added to the model). I need to undo the model creation. How can I do
> that?
>
> Thanks,
> Balint PERSICS
>
ESC key is preserved to make PaletteView's default tool(selection tool)
be selected.
|
|
|
Powered by
FUDForum. Page generated in 0.03902 seconds