Global idea
I'm trying to build a new custom MDG Technology, that extends another custom MDG Technology, like this:
NewCustomMDG --(is extension of)--> ExistingCustomMDG -- (is extension of) --> UML StructuralThus, to be more precise:
- ExistingCustomMDG extends «UML Class» and «UML Attribute»;
- I want to extend some stereotypes from ExistingCustomMDG in my NewCustomMDG, in order to add a couple of tagged values.
Aim
My aim is to provide users with a toolbox that encaptures all the stereotypes from the
ExistingCustomMDG, plus some new stereotypes I defined in
NewCustomMDG.
Additionally, these new stereotypes should contain all the tagged values from its 'extension class' or 'supertype', plus the newly added tagged values, thus not only the latter!
Furthermore, I would like to organize this in a way that takes into account other possible extensions of
ExistingCustomMDG in the future.
Approach
I followed the steps described here:
https://sparxsystems.com/enterprise_architect_user_guide/14.0/modeling_tools/addingelementsandmetaclass.html. However, step 2 does not clearly describe how to access the stereotypes you want to extend. The way I managed to do so, was by importing the
ExistingCustomMDG on the 'Resources' tab first. After that, the stereotypes from
ExistingCustomMDG I want to extend, became available in the 'Extend Metaclass' dialog.
Problem
I can't find clear documentation about an appropriate package and profile structure. Is there some kind of a best practise for the structure?
How do you refer in the «toolbox profile» to the new profile and the stereotypes from ExistingCustomMDG?
I found a way to do the latter, but for the new profile I get a 'Missing base type' error.
Please let me know if any additional information is needed