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

Pages: 1 ... 3 4 [5] 6 7 ... 21
Bugs and Issues / Action pin direction
« on: October 25, 2017, 12:29:12 am »
Hi all,

In EA 11.1, if I create an activity with some parameters, and then drag that onto a diagram and let EA create a CallBehavior action from it, EA also auto-creates action pins. But all the action pins have direction 'in', regardless of the direction of the corresponding parameter (in, out, inout or return).

Can someone check if this is still the case in 13?



Bugs and Issues / Timing diagrams
« on: October 18, 2017, 02:44:08 am »
Hi all,

I'm looking at timing diagrams in 11.1. This is such a buggy heap of garbage I cannot in good conscience recommend my client use it -- and right now they're documenting timelines in PowerPoint.

I've looked at the version history, and for 1207 it says
Timing diagram changes to Timeline properties have improved persistence
That's all, folks.

What does that even mean? Do they work now?

Have they stopped resizing by themselves and going crazy when you draw multiple messages to the same transition? Can you compress a time interval without the layout going berserk? Can you align message endpoints, or do you still have to pixel-push them around the diagram one by one?

And so on.



Bugs and Issues / TimeLine data
« on: October 16, 2017, 08:24:37 pm »
Hi all,

I'm trying to work out where EA stores data for a TimeLine.

The transitions are in RunState. Got that.
The states are in t_xref. Alright.

But where is the Timeline Range?

Seeing as the range is set to 0-100 if I drop a TimeLine onto a different diagram, I thought it might be in the diagram object. But it's not, even though the range is only set to default in the new diagram.

There seems to be an additional transition that corresponds to the range's lower value, but I can't find anything that represents the higher one. Nothing in PDATA.

Little help?


Hello boys and girls,

An operation parameter's multiplicity is stored in t_xref. The API Parameter class does not have a CustomProperties collection.
Is there a way to set a parameter's multiplicity through the API?



Uml Process / Action pins and instances of artifacts
« on: October 11, 2017, 07:16:50 pm »
Hi all,

EA lets me draw object flows between actions or action pins and instances of classes (objects). This is useful for when you want to show the object states explicitly in your activity diagram.

But if I make an instance of an artifact, EA says the requested connection is not UML compliant. Why is this?

I can work around it and force EA to accept this construction. That's not the question. The question is, why does UML say I should not make instances of artifacts and have them be the endpoints of object flows, like I can with instances of classes?


Hi all,

In a shape script, and without resorting to an Add-In, is it possible to retrieve the parameter type for an action pin?

The problem is that the action pin is an instance type, and its classifier is the corresponding activity parameter -- not the type (classifier) of that activity parameter. And there's no classifier.classifier.type property to be retrieved.


Hey guys,

Is there a way to retrieve the currently selected element feature (I mainly need attributes and operations) in a diagram?

The information is there, because you can right-click an operation and find it in the project browser -- but is it available in the API? All I can get out of the Diagram class is the selected connector and elements.

It's no, right? The answer is no?


I'll tell you what I want, what I really really want:

I want the different directions of ActivityParameters (in, out, inout, return) to be displayed differently in diagrams.

I can create stereotypes with shape scripts which set different colours -- but how do I specify that when using my «outpar» ActivityParameter stereotype toolbox item, an 'out' ActivityParameter should be created as opposed to an 'in' one which is the default?

I realize that this is slightly incorrect use of stereotypes. But there's no way to check for the element's 'direction' in a shape script -- it doesn't have its own property for retrieval, and it's not a tagged value.



Bugs and Issues / IPv6 support in license server
« on: October 02, 2017, 09:12:25 pm »
Hi all,

This question was last asked before the 13 beta came out.

Is there support for IPv6 in the license server?

Authoritative answers only, please. I don't need suggestions for workarounds.



Bugs and Issues / Hyperlink - EA Command - FindInProjectBrowser
« on: September 29, 2017, 08:57:55 pm »
Hej alla!

If you create a hyperlink from the Common toolbox, you can specify its type as EA Command, which gives you a dropdown list of commands to choose from. One of these is FindInProjectBrowser.

This is pretty useless, because all it does is locate the diagram in the browser. If you make a copy of it and place that in a different diagram, then that hyperlink locates the diagram it's in, not the one the original hyperlink is in. So there doesn't seem to be any deeper magic going on.

But intriguingly, if you look at the hyperlink's name in the properties window, it's $uicmd=MenuCmd;param1=FindInProjectBrowser;param2=

This certainly smells like there's an option to locate something else by specifying this other thing as the second parameter.

Is there?

If so, what is the correct format?

I've tried an element GUID, with and without quotation marks, but no joy. Am I close? Or am I chasing wild geese again?


Bugs and Issues / Glossary: mismatch of multi-word term over line breaks
« on: September 27, 2017, 07:23:29 pm »
Hi all,

It seems the glossary term highlighting feature doesn't work correctly for multi-word terms over line breaks.

If there are two multi-word glossary terms where one is a prefix of the other (as in "Some property" and "Some property type"), and you use the longer one in a notes field somewhere, if a line break should appear between "property" and "type", EA will highlight only "Some property" on the first line and pop up its meaning. If you resize the window to fit the whole phrase on one line, it instead highlights "Some property type" and pops up that meaning.

This is the case in 11.1, but that's so old now I don't want to report bugs on it. Can someone check this in the current version?



Hi all,

I need to create a bunch of generalization sets through the API.

I know the generalization set itself is stored in t_xref, and I can work out the details of the representation, get the power type in there, all good. But: can I just add a row to t_xref, or is there some more magic I need to do to make sure my database doesn't experience a critical power excursion resulting in a core meltdown and subsequent evacuation of substantial sections of northern Europe?

De profundis clamavi ad te, qwerty...


Bugs and Issues / Redefined Property vs Inherited Features
« on: September 07, 2017, 01:26:28 am »
Hi all,

Let's say I create two classes, both with some attributes, and a Generalization between them. In the more specific class, I can specify that an attribute is a "redefined property", and select an attribute from the more general class that the more specific attribute redefines.

If I then open the Feature and Compartment Visibility dialog for the more specific class and select Inherited Features -- Show Attributes, I would expect the property I have redefined not to show up. It's been redefined, after all. But it does show up.

Am I misunderstanding the "redefine property" feature?


Automation Interface, Add-Ins and Tools / Shape script: rotated text
« on: August 16, 2017, 11:46:59 pm »
Hey hey,

Let's say I want to write a shape script that mimics the original partition's. In other words, I want to write the name / classifier rotated 90 degrees.

How do I do that?


Hey all,

I'm writing a shape script for an activity, which is intended to contain a composite activity diagram with sub-activities in partitions.

The shape script essentially lists the child activities in a custom compartment. Problem is, when the child activities are placed hierarchically below their partitions, as they should be, they're dropped from the compartment.

It appears the ChildElement shape is only triggered for immediate children of the parent element, not for grandchildren.

Is there a way to get this to work?



Pages: 1 ... 3 4 [5] 6 7 ... 21