Author Topic: Creating XMI-Diagrams in Java  (Read 535 times)

0xCAFEBABE

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Creating XMI-Diagrams in Java
« on: November 01, 2014, 03:00:30 am »
Hello. I need to make a Java program I am working on being able to create Diagrams importable as an XMI in EA.

I came across this 6 year old post on eclipse forums where the poster says she has worked on somethig similar and found relevant samples for C# and VisualBasic:
https://www.eclipse.org/forums/index.php/mv/msg/151749/#msg_477605
Do you by any chance know which samples she means? Because I can't find those.

Right now the only thing I have to understand how the XMI diagram related structure works, are exported files from EA with completely cryptic stuff like
Code: [Select]
geometry="EDGE=1;$LLB=;LLT=;LMT=;LMB=CX=42:CY=13:OX=0:OY=0:HDN=0:BLD=0:ITA=0:UND=0:CLR=-1:ALN=0:DIR=0:ROT=0;LRT=;LRB=;IRHS=;ILHS=;Path=;"and the eaapi.jar, which being a jar contains only bytecode and as far as I can see no documentation.

Where can I find more information on how EA stores diagram information in XMIs?

qwerty

  • EA Guru
  • *****
  • Posts: 8952
  • Karma: +136/-123
  • I'm no guru at all
    • View Profile
Re: Creating XMI-Diagrams in Java
« Reply #1 on: November 01, 2014, 03:41:01 am »
Have a look in my Inside book. I have detailed the parameters.

q.