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.

Messages - tanja

Pages: 1 2 [3] 4 5
General Board / Re: Sybsystem interface: how to show it?
« on: August 08, 2005, 11:22:17 pm »
Thomas, Simon, Thanx for your answers!

And you, Bruce, I'm impatient to read chapter 1268 of your book 8)

Why should I stay away from the assembly connector?

I found how to have one or more components provide an (existing) interface (context menu on component -> Add embedded element -> Add provided interface).

I've just tried to drag an existing class and (class) interface into a component in the model browser, but I see it only there, not on the diagram - how to show the other classifiers, like classes, enums etc. (or any contents of the component other than provided/required interface or port) on the component diagram? These classifiers are meant to provide the implementation of the component.


General Board / Re: Sybsystem interface: how to show it?
« on: August 08, 2005, 12:46:22 am »
Many thanks to all your hints.
1) I've found that I can change the type of e.g., class/interface (a classifier) and of a link, but not of a package, although it is also a UML classifier (if I'm not wrong). This happens in the properties window, and is quite cool. (Feature request: select several elements and change any of their common properties in bulk).
2) I've actually found the 1.5 component trick - somewhat hidden...
3) For components and subsystems, I agree, everybody is somewhat on ones own.

I would have (at this point in time) some more questions, as I'm about to start heavily using EA (after Rose and XDE):
1) Is it possible to select several links on a diagram (but not all, with the menu item 'Select elements of type) - it would be handy to be able to do ctrl-click for links as one can do for classes/interfaces/packages/components.
2) If I enable the 'generalisation link as tree' option in local options, I found no way to change the style of a single generalisation (or I simply didn't read well the manual)?
3) I found it strange when drawing aggregation from composite to component, to have the diamond on the side of component, while it should be on the side of composite. In options, I have checked "Association default source->target", but this doesn't seem to apply to aggregation... Is it possible to have aggregation links behave the same as associations?
4) How can I choose to show an interface as a stereotyped class box or as a lollipop? I've already created a number of interfaces from package->add element->interface, and these appear as stereotyped class boxes, and I would like to show some of them as lollipops. On the other hand, if I use the toolbox, then I really get the lollipop (but still don't know how to render it as a stereotyped class box on a diagram).
5) Finally, I would like to have some of these interfaces be the interfaces offered by some components (from the Toolbox, that would be Expose interface and/or Assembly, but I would like to use those that I've already created as interfaces).
Well, any help will be highly appreciated, since I'm still learning this big/small beast of EA.
Thanx in advance,

General Board / Re: Sybsystem interface: how to show it?
« on: August 05, 2005, 12:13:56 am »
Thanx, sargasso,

I've also searched a little bit on the web, and came to the similar conclusion.

1) Now, I need to transform all the packages (subsystems) into components (subsystems). Is there a quick way to do that in EA5 (similar to what one can do with links)?

2) Could you, or somebody else, suggest how to distinguish between build-time artefacts (subsystems) and runtime artefacts (components) - where and how to define components that realise subsystems?

3) As a side note, I have been using UML 2.0 profile in EA5 all the time, but the components are still shown as classifiers with the "2 boxes" super-imposed to the classifier box - while in UML 2.0 the component icon should be just a classifier with small component icon adornment within the classifier box (hope this explanation was clear).

Many thanx in advance.

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 / Re: Three unrelated questions from a newby
« on: December 20, 2002, 07:49:47 am »
Tjerk, Jason, Thanx for your quick and useful replies!

I'm still curious to read the answer to the first question from Sparx-team.

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,

General Board / Re: Switching between two or more diagrams
« on: December 20, 2002, 04:28:43 am »
I give my vote to multiple windows for diagrams.

I suppose that this thread should go somewhere under "Required features". I think I saw a link somewhere on the homepage.


Uml Process / Re: Modelling C++ templates??
« on: December 16, 2010, 12:03:31 am »
Could you maybe share what you know with everybody here?

I'm now considering whether I could use the parameterized class construct to simplify an existing model (at the cost of a UML feature not well supported by tools).

I don't need a C++ template or any code generation capability, but I do need the instantiated parameters both displayed on diagrams and available within the model (that I can access with the java API).

I fully agree with Hazzelbanger that the single parameterized class-related page in EA help is really of little help to me. I would never think of using dependency with a stereotype that some mentioned of the forum...

Automation Interface, Add-Ins and Tools / Re: Sort the attributes of class
« on: December 21, 2012, 10:08:48 pm »
Use EA.Attribute.Pos


Yes, but ensure you do your own checks because you can have situations like this in EA - logged from my programme:
Code: [Select]
[main] ERROR [+++ EA problem: attr count on MyClass = 3
,    +++ attr [0] name = value, pos = 0
,    +++ attr [1] name = normaIlyInService, pos = 1
,    +++ attr [2] name = curveStyle, pos = 0
This may happen when you do drag/drop of attributes from the project browser onto the class in a diagram, to have multiple attributes with the same value in Pos.
I've filed the issue officially (registered user) very loooong time ago, but this still may happen with EA 9.3...


The same problem may happen with TPos on t_package.

The same solution (manual reordering back/forth) fixes the problem.

I think I found a kind of solution: The symptom and solution is similar to attribute and operation position within a class, that sometimes get screwed (e.g., when you drag an attribute from the project browser into a class in a diagram):

I found that only some packages contain classes whose TPos is 0 or empty (for all classes). I cannot say it's the old parts of the model, because one package is relatively recent and manifests the problem.

In my EA options, I have enabled arbitrary ordering, because for one model that I manage I have to be in control of order for everything.

Now the solution: If I just manually reorder in the project browser one class (e.g. move it a bit down), wait a couple of seconds, then move it back where it was - it seems that this operation triggers some kind of event within EA (a slight flicker in the diagram/search window), and voila - the TPos is now up to date and correct.

I was reporting the problem for attributes position as registered user, and the proposed solution (to do EA db repair) did work. This solution did not work for class' TPos.

I find this really scary.

In any case, if you need order for anything in EA, ensure you do your own checks in the code to identify the bad condition (same value for TPos for multiple items within a container) - and advise the user to manually fix the model by moving up/down items until those TPos fields get updated correctly.

I desperately need this as well; was shocked to see that TPos in t_object table for Class rows may be null (empty) or that value of TPos can be repeated for multiple classes in a package.

The same column in t_package table seems to work ok.

Any help most appreciated !

One more update on t_xref, after a day of debugging:

Stereotypes (if you have more than one) for all the types of items in EA - except for diagrams (sic !) - are stored in this table's 'Description' column.

For connector ends only, the "regular" columns in the t_connector table do store even multiple stereotypes.

Now the nightmare with t_xreg for connectors: Because their ends are stored in the t_connectors table, t_xref table may contain multiple entries for the same ea_guid as 'Client' = connector !!! You have to filter the 'Type' column for {connector property, connectorDestEnd property, connectorSrcend property} to figure out whether the stereotypes are for connector and/or one of its ends.

Now I need a very, very strong coffee  :'(

Pages: 1 2 [3] 4 5