Hi,
I'm confused about the handling of Profile-Names in Stereotypes in EA 15.1.
We created an MDG Tech for our project with several stereotypes for the metaclass "Requirement".
When I create Elements of this stereotypes via VBS, I'm setting the Stereotype Attribute of the element to '<ProfileName>::<StereotypeName>'.
For most of the stereotypes the result looks like this (what seems to be logical for me):
- PropertiesView: Stereotype: '<ProfileName>::<StereotypeName>'
- Seperate Property Window (i.e. from the context menu in the project browser): Type: '<StereotypeName>' (for whatever reason in this window the stereotype is called "type"?)
- Stereotype column in the t_object table: '<StereotypeName>'
- Project Browser: '<<<StereotypeName>>><ElementName>'
- Stereotype Attribute via VBS API: '<StereotypeName>'
- FQStereotype Attribute via VBS API: '<ProfileName>::<StereotypeName>'
Now, for two stereotypes I can see a result which is different in the following:
- Seperate Property Window (i.e. from the context menu in the project browser): Type: '<ProfileName>::<StereotypeName>'
- Stereotype column in the t_object table: '<ProfileName>::<StereotypeName>'
- Project Browser: '<<<ProfileName>::<StereotypeName>>><ElementName>'
The only way I can change this behavior for this stereotypes is the Seperate Property Window: if I change the "Type" from '
<ProfileName>::<StereotypeName>' to '<StereotypeName>', the element permanently behaves like the other stereotypes.
When the PropertiesView is used to reset the Stereotype, the ProjectBrowser changes. But only until I reload the containing package.
The same for a change via VBS. Even if I set the Stereotype Attribute without the ProfileName, it will be added to the Stereotype Column in the t_object table (at least after reloading the Package).
I can't find any difference to the other stereotype definitions. Does anyone has an idea?
I would like to fix this via script, since its quite a big number of Elements and the different ways of showing the Profile-Name or not is confusing.
Thanks!
Best regards