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 2 3 [4] 5 6 ... 20
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?



Bugs and Issues / Model Views table
« on: June 13, 2017, 08:56:31 pm »
Hi all,

I've got a situation where I need to set up a set of "Bookmark" views with preselected contents, so I thought I'd put together a little script -- but I can't find where the views are stored.

Does anyone know?

They've got to be in the database somewhere 'cos they're project-global, right?


Uml Process / "Start other process" in activity diagram
« on: May 15, 2017, 06:00:32 pm »
Hi all,

I've got a client who's doing a bit of business process modelling using a custom method and notation. At the finest level of detail, there are activity diagrams.

From one of these activity diagrams, a modeller wishes to show that another process is triggered, essentially to deal with an error condition, interrupting the normal flow. This is not covered by the metamodel which in effect says that processes can't trigger one another but only follow one another, but it makes sense and the same need will most likely arise in other processes so an extension or relaxation of the metamodel seems to be in order.

In order to meet this need, I'm thinking an Exception activity with a child Send event, shown inside the Exception in the diagram.
The Send event will have a classifier, which will also be the classifier of a Receive event in the process which is triggered.
This decouples the triggering and triggered processes, and avoids having to place a process (higher-level concept) in an activity diagram.

My question is: does this sound like a good solution?
Especially given how inert Exceptions are in EA?

Any input appreciated. (Going to BPMN is not an option.)



Hi gang,

Just a quick hit -- in a shape script, do the #TAG:TagName# property and HasTag() query look in TaggedValues only, or in TaggedValuesEx as well?

If no, is there a way to retrieve extended tagged values in a shape script (other than resorting to #ADDIN:MyAddIn,RetrieveMyTag#)?

If yes, is there a way to distinguish owned and extended tagged values or restrict the property / query to exclude the extended ones?



Bugs and Issues / Glossary in HTML from model document
« on: May 10, 2017, 01:58:42 am »
Hi all,

I'm trying to generate an HTML version of a model using a model document.
I've dragged some packages onto the model document element, hit Shift-F8 and the generation works fine.

Except that in the dialog I select to include the glossary, and no glossary node is generated.

When I do a non-model document HTML generation, just following the structure, the glossary is included if selected in the dialog, so it's there and there's nothing fishy with the generation template. It's only absent when I use the model document.

Is there a trick?


Automation Interface, Add-Ins and Tools / Diagram picker
« on: May 04, 2017, 07:09:05 pm »
Hi all,

Is it possible to have the user pick a diagram using Repository.InvokeConstructPicker()? If so, how?
I've tried "IncludedTypes=Diagram", but that didn't work.

Or is there another way to invoke a similar picker for diagrams?


Bugs and Issues / Hyperlink to element in diagram
« on: May 04, 2017, 06:58:56 pm »
Hi all,

Is there a way to create an in-EA hyperlink which opens a diagram and selects a specific element in it?



Pages: 1 2 3 [4] 5 6 ... 20