Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Automatica Layout issues
Automatica Layout issues [message #200999] Fri, 28 October 2005 15:53 Go to next message
Eclipse UserFriend
Originally posted by: harsh.ti.com

All,

I have a fairly complex slayout in my editor consisting of 30 objects.
When I select automatic layout, everything gets messed up. Connects go in
no mans land, edit parts get positioned on top of each other.

Is there a know bug for this? And if so, are there any plans of fixing
this?

As well, I am working on storing the layout when the user switches from
manual to automatic so when they come back to manual, the old layout will
be restored as much as possible. Randy/Partik, would you be interested in
me submitting this back to GEf?

Regards,
Harsh
Re: Automatica Layout issues [message #201023 is a reply to message #200999] Fri, 28 October 2005 16:53 Go to previous messageGo to next message
Felix L J Mayer is currently offline Felix L J MayerFriend
Messages: 202
Registered: July 2009
Senior Member
When you implement the Automatic Layout as a CompoundCommand, you can easily
undo it.

"Harsh" <harsh@ti.com> wrote in message
news:983ec8b98097b5215d8db0c9d434982c$1@www.eclipse.org...
> All,
>
> I have a fairly complex slayout in my editor consisting of 30 objects.
> When I select automatic layout, everything gets messed up. Connects go in
> no mans land, edit parts get positioned on top of each other.
>
> Is there a know bug for this? And if so, are there any plans of fixing
> this?
>
> As well, I am working on storing the layout when the user switches from
> manual to automatic so when they come back to manual, the old layout will
> be restored as much as possible. Randy/Partik, would you be interested in
> me submitting this back to GEf?
>
> Regards,
> Harsh
>
Re: Automatica Layout issues [message #201264 is a reply to message #200999] Mon, 31 October 2005 14:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

What automatic layout are your referring to? Is it your own?

"Harsh" <harsh@ti.com> wrote in message
news:983ec8b98097b5215d8db0c9d434982c$1@www.eclipse.org...
> All,
>
> I have a fairly complex slayout in my editor consisting of 30 objects.
> When I select automatic layout, everything gets messed up. Connects go in
> no mans land, edit parts get positioned on top of each other.
>
> Is there a know bug for this? And if so, are there any plans of fixing
> this?
>
> As well, I am working on storing the layout when the user switches from
> manual to automatic so when they come back to manual, the old layout will
> be restored as much as possible. Randy/Partik, would you be interested in
> me submitting this back to GEf?
>
> Regards,
> Harsh
>
Re: Automatica Layout issues [message #201294 is a reply to message #201264] Mon, 31 October 2005 15:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: harsh.ti.com

No the standard one. I have seen it with the Schema example as well.

Harsh
Re: Automatica Layout issues [message #201364 is a reply to message #201264] Mon, 31 October 2005 20:25 Go to previous message
Eclipse UserFriend
Originally posted by: harsh.ti.com

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
Previous Topic:How to begin with GEF ?
Next Topic:Extending the Shapes Editor
Goto Forum:
  


Current Time: Sun Dec 08 06:37:42 GMT 2024

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

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

Back to the top