Automatic Layout issues [message #201648] |
Wed, 02 November 2005 10:16  |
Eclipse User |
|
|
|
Originally posted by: harsh.ti.com
All,
Any idea of what I might be doing wrong...
So I changed my code to execute the layout changes on the command stack so
I can undo/redo them. However, when I am in manual mode, my edit parts
are all over the editor and then when I switch to automatic, they get
moved around. I thought now if I undo the command (CompoundCommand that
is), everything should go back to the way it was. This is not the case
even though now manual mode is enabled.
Any ideas?
Thank You,
Harsh
|
|
|
Re: Automatic Layout issues [message #201663 is a reply to message #201648] |
Wed, 02 November 2005 10:45  |
Eclipse User |
|
|
|
I am not sure switching between automatic and manual modes makes sense when
you use commands. I just have a user-invoced action which does that layout,
and because the layout changes are done as part of a CompoundCommand they
can be undone. So my diagram is always in manual mode.
"Harsh" <harsh@ti.com> wrote in message
news:7ef32da4e1db28fce3288d674efc076c$1@www.eclipse.org...
> All,
>
> Any idea of what I might be doing wrong...
>
> So I changed my code to execute the layout changes on the command stack so
> I can undo/redo them. However, when I am in manual mode, my edit parts
> are all over the editor and then when I switch to automatic, they get
> moved around. I thought now if I undo the command (CompoundCommand that
> is), everything should go back to the way it was. This is not the case
> even though now manual mode is enabled.
>
> Any ideas?
> Thank You,
> Harsh
>
|
|
|
Powered by
FUDForum. Page generated in 9.42076 seconds