Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Align elements horizontally
Align elements horizontally [message #1382851] Mon, 26 May 2014 01:28 Go to next message
Al B is currently offline Al B
Messages: 129
Registered: July 2009
Senior Member
Is there a way to enforce the alignment of elements horizontally instead the default vertically (see attachments)?
Re: Align elements horizontally [message #1383078 is a reply to message #1382851] Mon, 26 May 2014 03:44 Go to previous messageGo to next message
Soeren M is currently offline Soeren M
Messages: 77
Registered: September 2011
Member
I didn't know that the alignment of the elements is enforced in any direction? (I've just never noticed it)
Maybe I am wrong, but if I want my elements to be aligned, I just calc it myself.
Re: Align elements horizontally [message #1383882 is a reply to message #1383078] Mon, 26 May 2014 12:31 Go to previous messageGo to next message
Al B is currently offline Al B
Messages: 129
Registered: July 2009
Senior Member
You are probably correct, there is not such default enforcement.

I basically want to know if Graphiti has a layouter or API that allows you to align a particular feature type to the right of another feature or if anyone has any suggestion on how to enforce that rule.
Re: Align elements horizontally [message #1383902 is a reply to message #1383882] Tue, 27 May 2014 02:15 Go to previous messageGo to next message
Soeren M is currently offline Soeren M
Messages: 77
Registered: September 2011
Member
As far as I know, there is nothing in Graphiti, but there is a framework from the University of Kiel.

http://rtsys.informatik.uni-kiel.de/confluence/display/KIELER/Home

[Updated on: Tue, 27 May 2014 02:25]

Report message to a moderator

Re: Align elements horizontally [message #1384271 is a reply to message #1383882] Wed, 28 May 2014 11:19 Go to previous message
Michael Wenz is currently offline Michael Wenz
Messages: 1577
Registered: July 2009
Location: Walldorf, Germany
Senior Member
There's nothing like layouters in Graphiti. We offer only plain XY Layout.

You could programmatically set the coordinates on adding the stuff to the
diagram (add feature) and restrict moving the shapes inthe move feature.

Michael
Previous Topic:Editor doesn't get dirty
Next Topic:How to set Icon for Features (other than custom features) on the diagram context menu
Goto Forum:
  


Current Time: Fri Aug 01 18:42:17 EDT 2014

Powered by FUDForum. Page generated in 0.11715 seconds