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.

Messages - Viking

Pages: 1 ... 4 5 [6] 7 8 ... 15
Automation Interface, Add-Ins and Tools / Base Class
« on: March 01, 2017, 10:46:26 pm »

Could somebody explain to me the concept behind Base Classes in UML types, please?

Many thanks in advance, V.

1. Does your element have all of the tags and properties that the shape script is looking for? Are their values what the shape script is expecting?

We tried this with the original Shape Script of the Pool, provided by EA. We did not change anything. We also set all tagged values the shape script uses.

We did the same with other scripts and they work as expected.

That's why we think there are some inherited variables, global variables or baviour of EA, used for some shape scripts in the background. See also,37866.msg236243.html#msg236243.


We built up an own Toolbox. For the Toolbox we reused the ShapeScript of BPMN Pool in our own stereotype.

The problem is, nothing gets displayed when we drag the element into a diagram?

The reason could be that the shape script of BPMN Pool uses "drawnativeshape()". Probably it inherits this method.

We use <all> as Base Class. Should we change this? We already tried all Base Classes but nothing happens. Or do we have to use further tagged values, inherited from the super class(es)? We currently use the tagged values displayed by the Property Dialog of the standard BPMN Pool. Which ones do we have to use and with which default values?

Many thanks in advance, Viking.

Suggestions and Requests / Re: ToolBox - reuse of other stereotypes
« on: February 23, 2017, 01:40:09 am »
No and no. You have to create your toolboxes from scratch. q.
Thank you very much.

Suggestions and Requests / Re: ToolBox - reuse of other stereotypes
« on: February 23, 2017, 12:40:37 am »
Another question is: can I change an element in a "standard" toolbox? I want to replace the stereotype of the BPMN Actvity with a shape script, created by me. Is that possible? Probably is is possible to change the MDG-file under Sparx Systems\EA\MDGTechnologies and reimport it. But I cannot imagine that this is recommended.

Suggestions and Requests / ToolBox - reuse of other stereotypes
« on: February 22, 2017, 11:57:44 pm »
Hello together,

I want to create ToolBoxes that offer the elements the users are allowed to use. So a toolbox will not contain self-created shapes only. It should also show standard elements from e.g. BPMN and ArchiMate. The easiest way is to use the shape scripts of these elements. But this is not really wanted because I want to reuse (reference) what's already there. Is that possible?

Many thanks in advance, V.

Suggestions and Requests / Re: Properties versus Tagged Values
« on: February 22, 2017, 09:01:17 pm »
Can you confirm that's what you've done? -> Confirmed.

You will need to research MDGs. -> Agreed.

Then you ask questions. -> Agreed.

Thank you, Paolo.

Suggestions and Requests / Re: User Interface for Tagged Values
« on: February 22, 2017, 02:13:48 am »
I think you want to create 'profiles' to extend the types.
Thank you, VKN. Seems to be exactly what I am looking for. V.

Suggestions and Requests / Re: Properties versus Tagged Values
« on: February 21, 2017, 06:27:33 pm »
Hi Paolo, thank you very much.

You may find that assigning the same properties you find in the original ArchiMate MDG  metatype to the new metatype in your MDG should force EA to retain the property.

How can I do this? I do not use MDG (as far as I undestand EA, at least not intentionally). V.

Suggestions and Requests / Default Colour of an Element resp. Shape
« on: February 21, 2017, 04:44:15 am »

I am confused where the ArchiMate BusinessProcess gets its color from. It is not set in the corresponding shape script. The standard color is set to another color.

(1) Could somebody explain to me, where the default color for the ArchiMate BusinessProcess shape script is definded resp. where the shape scripts retrieves the color from?

I have implemented my own shaped scripts which uses an exact copy of the ArchiMate BusinessProcess shape script. When I assign this script to an element and the copied script gets executed, it uses a different color than the original one.

(2) Could somebody explain to me, why the exact copy of a script uses a different color than the original one?

Many thanks in advance, V.

Suggestions and Requests / User Interface for Tagged Values
« on: February 21, 2017, 01:42:44 am »
Elements normally have Property Dialogs assign to them. For my project I need to assign additional property-value-pairs in form of Tagged Values. I do not want to bother end-users with a text list with potential tags where the have to select the appropriate tag and add it to the property sheet with e appropriate value.

Is there a more convenient way, e.g. by prefilling the tag-list of the property sheet?

Suggestions and Requests / Re: Properties versus Tagged Values
« on: February 21, 2017, 12:22:47 am »
@qwerty, @paolo, thank you very much.

What confuses me is:
(1) Geert said in another discussion "Yes, Archimate properties are also Tagged Values."
(2) The original Shape Scripts of EA uses the function hastag. If I set the appropriate "property" (e.g. "showdecoration" = TRUE) the function "hastag" returns "TRUE" (and an arrow gets shown).
(3) If I create an ArchiMate BusinessProcessI on a diagram, it is normally has the property "showdecoration" set to "TRUE". The arrow (decoartion) gets displayed on the top right of the element in the diagram. As soon as I assign a sterotype (with my new Shape Script), the properties disappear in the properties sheet. I have to assign the hashtag (not hashtag) "showdecoration"to TRUE to the element to show the arrow again.

I know what properties, hashtags, stereotypes, etc. are, but I am confused in conjunction with EA.

Any ideas? V.

Suggestions and Requests / Properties versus Tagged Values
« on: February 20, 2017, 02:09:12 am »

My understandig was that Properties of elements are Tagged Values. But when I use a Shape Script, than I have to add the tagged value again for the property set before (in my case "showdecoration" of ArchiMate Activity).

Did I do something wrong or is my understanding wrong?


Suggestions and Requests / Re: ShapeScript for BPMN activity
« on: February 20, 2017, 02:01:46 am »
The proplem has been solved. I missed a bracket. The correct code can be found in "ShapeScript - conditional setting of variables",37909.0.html.

Thank you all for your valuable input.

My problem has been solved. I "forgot" one bracket and the editor did not recognize, that there are more open than close brackets. Many thanks to all. It is always a good choice using the outliner carefully.

Thank you all for your valuable input.

Edit: Unfortunately it is not solved. Now I run into property-issues :-(

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