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 - tanja

Pages: 1 [2]
General Board / Sybsystem interface: how to show it?
« on: August 03, 2005, 04:43:24 am »
I have subsystems for which I define interfaces. I would like to show on a package/class diagram interface dependencies among subsystems with lollipops, as I would do among classes. However, the subsystem can just show its contents (since it is a package icon), in my case intefaces. However, I found no way to make the subsystem in EA5 show the lollipops on their edges (not within the package icon) and to draw dependencies.
Could somebody help?
Thanx in advance.

General Board / Any plans for EA on Linux?
« on: April 11, 2003, 10:15:09 am »

Since the search for "linux" on this forum gave nothing,
I'm wondering whether there are any plans to offer EA for Linux users, as well? And if yes, when?


General Board / Three unrelated questions from a newby
« on: December 20, 2002, 04:02:47 am »
Hi Sparxies,

I've spent a few hours with a free-trial copy of EA Professional and Stephen's tutorial, and honestly, I'm impressed with what I could see. I need definitely more time to fully explore code generation/engineering and UML diagram-related features, to compare them against Rose, that I've been using for quite some time - I'm just another poor corporate user  :-/

The first question is a theoretical one:
I talked about your software to a colleague of mine, and we were wondering whether you have some publications about the meta-model and the architecture you've used/proposed in order to build the EA itself? Or, was there no particular model, at the very beginning? I can find some parallels with what I read in "UML Components", of J.Cheesman and J.Daniels, an excellent book on using UML for components specification. Is there really some relation?

And two very, very practical how-do-I's:
How can I display an existing class in a diagram? Sorry for mentioning Rose, but it provides 2 ways to display an existing class on a diagram:
- dragging the class from the project browser onto a diagram (EA creates an object if doing this), or
- clicking a class icon creates a class and one can select from the drop-down menu an existing one, or specify the new one.

Finally, with CTRL-A (select all), no connection is selected on a diagram, just the "boxes". So my last question: is there a way to sellect all the connections (or more than one) in a diagram) in order to change, e.g., the format of the line?

I'm looking forward to participate in this Forum  :D

Reg's to all,

Automation Interface, Add-Ins and Tools / java API, win7, spoolersv.exe
« on: October 08, 2010, 08:59:14 pm »
I get spoolersv.exe process that kicks-in about 2 seconds after I open an .eap file from within a java application (run either from within eclipse, or from command line without eclipse). That process is the Print spooler, that is automatically started on boot/login (corporate settings).

That process then takes some 17% CPU. However, my program execution (processing the content of the .eap) that normally takes 2min, with the above process that kicks-in rockets to 23min.

When I stop the spooler service (with Computer->Manage...):
- I get several pop-ups from EA mentioning missing fonts,
- and some 12 OKs later, everything runs acceptably slow (the "regular" 2 minutes).

This is manifesting on Windows 7, Enterprise edition only, either on the LAN, or from home with and without VPN connection.

It's quite annoying that I cannot print anything in the office while developing with Java API (although it's good for the nature :-).

I do not see any problem of this kind when just launching EA with its GUI, only when running my app that uses EA Java API (my app just opens the EA repository and uses EA collections to retrieve everything in the model, so nothing related to HW).

Is this a known issue? Any fix to come soon?

EA Corporate, 7.5.850
java 1.6.0_21
Windows 7 Enterprise

I'm getting desperate with the time it takes to open my small test model with Java API -  3MB .eap file with ~20 packages and ~100 classes:

14 sec for eaRep.OpenFile(absFilePath)!

The file is excluded from the scan-on-access of the anti-virus software.

To build in-memory representation of the model, by visiting recursively packages with their content (classes, associations, operations, attributes, class diagrams, dependencies, realizations), it takes some 1min 20sec; java processing is of the order of <1sec, everything else is access to EA model through its API.

Any idea on how to write unit tests for the code using such a slow API - I'm getting tired of waiting and then reading logs?

EA 7.5, build 850, Java 6;
ThinkPad T60p, Core Duo, T7400@2.16 GHz, 3GB RAM

For a project, I have to assign an int value to each enum literal (like C/C++/C# enumerations). They are well in the model, and displayed on the diagrams.

However, Attribute.GetDefault() always returns an empty string.

Half of the enums have been imported from Rose, the other half has been created with "Enumeration" drag&drop from the Toolbox - the problem is the same.

I have some 150 such enums, each with 5 literals in average, and I really hope I can get to those initial values through Java API.

Automation Interface, Add-Ins and Tools / Java API .jar and .dll version
« on: February 11, 2010, 06:11:17 am »
I've just upgraded from EA 7.1 (build 834) to EA 7.5 (build 850) and would like to print in my application the respective versions of libraries used. Is there a Java API call that offers this capability? If not, will there be one with EA 8?
Thanks in advance.

I create a state under a class, and Java API (EA 7.1) GetElement method on both class and its containing package return the above state as a child. The same seems to apply to statechart diagram (also defined under a class). I'm surprised to see this implicit containment by package, whereas I expect the class to be the only container.
Any thoughts on this?

It's cool to have markup possibility in notes, which I largely used since it became available.
However, I'm now in trouble when retrieving notes (documentation) of elements etc., because I get the markup in that text.
Is there an API call, e.g. getRawNote(), to obtain just the text without any markup?
If not, is there a list of all the markup used, so that one can program and do custom parsing, at least?
Thanks in advance.

Using EA 7.1 dlls and jar, build 834
ps: Similar happens with rtf documentation, i.e., there is textual markup, not its result.

Automation Interface, Add-Ins and Tools / Element.GetIsRoot?
« on: February 06, 2009, 03:31:25 am »
Automation java API has Element.GetIsLeaf and SetIsLeaf methods, but I don't find their equivalents for Root. I've got EA model from Rose XMI with lots of root and/or leaf "advanced" attributes/properties on classes and would like to be able to remove {root} the same way I can do with {leaf}.

Is this omission from the API intentional or are there methods to manipulate {root} on an Element that I simply didn't find?

Thanks in advance for some help.

For some reason, EA 834 crashes after using Element.GetCustomProperties from java API. Some not released COM reference?

Pages: 1 [2]