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 ... 4 5 [6] 7 8 ... 21
76
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

77
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

78
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

79
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

80
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

81
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

82
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

83
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

84
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

85
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

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

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

Cheers,


/Uffe

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

Anyone?


/Uffe

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


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


/Uffe

89
Hello all,

If I specify a behavior for a transition effect, and that behavior has a stereotype, the stereotype shows up in the transition label. This just clutters up the diagram.

I've tried disabling stereotype presentation for elements, and for connectors, but neither setting affects this label.

Is there a way?

Cheers,


/Uffe

90
Bugs and Issues / Custom icons in stereotyped artifacts
« on: November 23, 2016, 12:39:31 am »
Hi all,

Too lazy to try this for myself.

Is it possible to specify a custom icon for a stereotyped artifact, while retaining all other aspects of the base shape script?
In other words, is there a decoration sub-shape I can override and include my own image, or something along those lines?

Cheers,


/Uffe

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