Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - 0xCAFEBABE

Pages: [1]
1
General Board / What <connectors> and <primitivetypes> in XMI for?
« on: November 09, 2014, 06:06:58 am »
Hi. What exactly is the use of <connectors> and <primitivetypes> in the XMIs used for import/export of EA-projects?

The projects seem to get imported correctly when those tags (and respective subtags) are missing and generated automatically when you export back. So what exactly gets lost, if anything?

And what about <xrefs>? Why are they used only for formal parameters, not return ones?

2
General Board / 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?

3
Bugs and Issues / Connecting to Interface errors in Java Code Sample
« on: November 04, 2014, 09:31:25 pm »
Hello. I followed the steps in
http://www.sparxsystems.com/enterprise_architect_user_guide/9.2/automation/setup.html
to make C:\Program Files (x86)\Sparx Systems\EA\Code Samples\Java_Sample run in Eclipse; in other words, I put the .dll into system32 and eaapi.jar into the classpath-system-variable; I additionally added eaapi.jar to the built path in eclipse (it was already there from importing project but not loaded until I selected the file again in the built path).

I can start the program, but when selecting a write-permitted, empty (a clean project in EA without anything added into it) .eap-file and one of the "Select Example"-options in the running GUI  program, it gives me the error "Unable to communicate with EA PLease ensure that the .dll is in java.library.path". When I click it a second time it gives me "java.lang.NoClassDefFoundError: Could not initialize class org.sparx.Repository".

What might be the problem?

4
Uml Process / Why Association without arrowhead?
« on: December 05, 2014, 02:54:58 pm »
Why is the Association in EA displayed as a simple line instead of an arrow so you dont know instantly (only when you hover the mouse pointer over it) in which direction it goes?

Can I change it somewhere  to the regular non-dashed arrow with an open arrowhead, like used everywhere else?

5
Uml Process / Adding visible stereotype to Realization
« on: November 24, 2014, 02:58:37 am »
Hello. In a component diagram, can't I add a visible Stereotype to a Realization from a (Packaging)Component to another Component?

I want to make it visible what exactly gets implemented by another Component.

Do I really have to use a different relationship than a Realization? Would an "Assembly" be most fitting as the replacement in this case?

6
Uml Process / Collection Parameter?
« on: November 05, 2014, 02:51:36 am »
Hello. How do I set input or output(return) parameters of operations to Collections? I see only a "Return Array" option under Operation-properties>Advanced, adding [], but no option to set the type to ArrayList<MyType>, HashSet<MyType>, MyCollection>MyType> etc

Pages: [1]