Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to re-Arrange figures on a GEF editor?
How to re-Arrange figures on a GEF editor? [message #207880] Tue, 24 January 2006 07:22 Go to next message
Eclipse UserFriend
Originally posted by: deepak.xxxxxx.com

Hi All,

Iam working in Eclipse plug-ins development in GEF Framework.
In this, we create Graphical editors with figures (like rectangle, square,
etc) which are connected by connectors, all using GEF Framework.

Once the Editors with the figures are created in the editor using
drag-and-drop from the palette, our task is to Re-Arrange the Figures in a
systematic manner.
At the same time, we have to ensure that the connectors do not overlapp on
any figures after Re-Arrangement.

The connector Routing could be ManHattanRouting type or any other
Short-Path Routing.

Could you please suggest and provide hint on how to generate the
auto-re-arrangement of figures.
Re: How to re-Arrange figures on a GEF editor? [message #207889 is a reply to message #207880] Tue, 24 January 2006 08:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pavan_kg.yahoo.com

look into flow example.
Re: How to re-Arrange figures on a GEF editor? [message #207924 is a reply to message #207889] Tue, 24 January 2006 12:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: shreya_luck.yahoo.co.in

Can you please elaborate on that.

Here we have already created the Flow consisting of figures, now
our Task is to rearrange the figures in systematic manner by
changing the corordinates of the figures, and on the way ensuring
that Connectors also do not overlap any laid out figure.
Re: How to re-Arrange figures on a GEF editor? [message #208014 is a reply to message #207924] Wed, 25 January 2006 11:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pavan_kg.yahoo.com

see gef examples. In that you will find flow example.

http://dev.eclipse.org/viewcvs/indextools.cgi/org.eclipse.ge f.examples.flow/

in this see layout manager. You will get idea.

Pavan
Re: How to re-Arrange figures on a GEF editor? [message #208133 is a reply to message #208014] Fri, 27 January 2006 06:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: shreya_luck.rediffmail.com

Hi, thankx for the link .
We hav already gone thru that example. With the source code present there,
we will be able to create a flow with some desired figures, which we have
already accomplished.
But my task is to be able to re-arrange this already created flow(having
figures).


P.S The flow creation is done by drag-drop of figures from the palette
Re: How to re-Arrange figures on a GEF editor? [message #208209 is a reply to message #208133] Mon, 30 January 2006 04:56 Go to previous message
Eclipse UserFriend
Originally posted by: pavan_kg.yahoo.com

http://www.eclipse.org/articles/Article-GEF-editor/gef-schem a-editor.html

see this example. you can find rearrange toolbar button. It is almost smae
as flow example only.

Pavan
Previous Topic:Unit tests for GEF
Next Topic:Folding in GEF
Goto Forum:
  


Current Time: Wed Feb 05 15:01:25 GMT 2025

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

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

Back to the top