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



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?



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?



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.



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.



Bugs and Issues / Glossary matching options
« on: March 16, 2017, 10:42:38 pm »

Are there any options to control how glossary terms are matched in the GUI?
I've got case-insensitive and whole word only. Can this be changed somewhere?

I am aware that this wouldn't make it possible to define two terms with only casing differences. That's not the question, I want to know if I can influence what gets highlighted in the Notes fields.
(For that matter, changing how the match is highlighted from underline to a different colour or something would be nice too.)



Bugs and Issues / Embedded elements and diagram layouts
« on: March 07, 2017, 03:18:20 am »
Hi all,

Is it possible to get the diagram layout function to take ports and exposed interfaces into account?

I've got a model with components, ports and connectors between ports but not between the parent components. Ordering a diagram layout results in all the components being placed left-to-right as if there were no connectors at all.

There's an option "Layout uses all relations" and it's ticked, but it doesn't seem to do much good.
I've tried the different layouts in the toolbar, but they're undocumented and none of them seems to look at relationships between embedded elements.



Automation Interface, Add-Ins and Tools / Repository.RegisterRASAsset?
« on: March 03, 2017, 09:47:10 pm »

On the feature list for 1308 there's mention of a new API call Repository.ImportRASAsset().

Is there a corresponding call to register an asset?

There isn't one listed in the current API documentation, but then ImportRASAsset() isn't there either so...


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