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 ... 18
16
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?

Cheers,


/Uffe

17
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...


/Uffe

18
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?


/Uffe

19
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?


/Uffe

20
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?

Cheers,


/Uffe

21
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?


/Uffe

22
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.)

Thanks,


/Uffe

23
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?

Cheers,


/Uffe

24
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?


/Uffe

25
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?


/Uffe

26
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?

Cheers,


/Uffe

27
Automation Interface, Add-Ins and Tools / Partition bar colour
« on: May 03, 2017, 06:45:17 pm »
Hello today,

Is it possible to set a separate colour for the bar of a partition (where the name is displayed) but leave the background of the partition proper transparent? Without resorting to a full shape script, I mean.

Setting the fill colour changes the whole background, and partitions do not appear in the status colour "applies to" list.
Is there another way?

Thanks,


/Uffe

28
Bugs and Issues / Package / element GUID mismatch
« on: April 25, 2017, 12:59:40 am »
Hello all,


A client, who's on 11.1, is having problems with a centralized reference model which gets distributed through the reusable asset service.

Going through it I noticed something odd: there is a mismatch between t_package.ea_guid and t_object.ea_guid for all the packages in this model. The locking mechanism has also gone haywire, and I assume this is the cause.

If I look in the project browser, nothing is locked.
If I look in the Manage Locks dialog, all the schizoid packages are locked.
If I drag one of the packages onto a diagram, I can "Release User Lock" in the context menu.

These issues persist when distributing the model to other projects through RAS.
The project integrity check says everything's fine.

What is the correct way forward here?

I can hack the database to make the GUIDs match -- but which one should take precedence?
Where, in addition to t_package.ea_guid / t_object.ea_guid, do I need to hack?

Or is there a gentler, kinder way?

Thanks,


/Uffe

29
Automation Interface, Add-Ins and Tools / Requirement stereotype icons
« on: April 20, 2017, 01:05:08 am »
Hi all,

Is it possible to override the requirement stereotype icons in a shape script?
It sounds like it's a decoration, but if so I don't know what it's called.

Cheers,


/Uffe

30
Bugs and Issues / Auto-apply diagram filter
« on: March 31, 2017, 06:41:30 pm »
Hi all,

Is there a way, either in the GUI or the API, to automatically select a particular diagram filter when a diagram is opened?

In the API, there's a Diagram.FilterElements property which "applies a comma-separated list of object ids (from SelectedObjects) to the currently-applied diagram filter, overriding the filter." This seems to indicate the filter can be applied somehow, but I can't find a reference to that in Diagram, Repository or Project.

Anyone?


/Uffe

Pages: 1 [2] 3 4 ... 18