|Re: Converting UML diagrams by simple java code parsing methods [message #839953 is a reply to message #839840]
||Mon, 09 April 2012 13:21
| Christian W. Damus
Registered: July 2009
The UML diagrams are built using the Eclipse Graphical Modeling Framework:
That project defines the graphical notation, including the coordinate
system within the diagram surface and within shapes on the diagram.
There should be documentation on the GMF website, and/or the wiki,
describing how it works.
On 2012-04-09 09:20:58 +0000, Fares Behr said:
> I'm a noob please show some mercy lol
> I've looked long for a UML editor until I stumbled across Eclipse UML tools...
> my objective: take a UML diagram, convert it into another diagram by
> running a java class with specific rules.
> this is what I did:
> 1. Draw (drag and drop) a UML diagram using the Eclipse UML2 editor.
> 2. Create a java class with parsing methods that apply specific changes
> to the diagram by altering attribute values of the xml tags
> this is where I'm stuck :blush: :
> 3. showing the target drawings: the xy coordinates of the target UMLs
> are so messy.
> I need to understand how Eclipse treats the xy of all shapes placed on
> the grid.
> Is each shape xy located on the northwest corner?
> How come there are negative values for the xy?
> Is there a way I can see the xy locations when moving the cursor over
> the drawing?
> The resulting drawing is an xml created from scratch, and of course the
> drawing depends on the input so I can't actually create a template and
> edit it.
> Many thanks in advance!
Powered by FUDForum
. Page generated in 0.24074 seconds