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

Pages: [1]
1
Well, that's a rich discussion! I'm not shure if this really answers my question. I need to have a closer look to determine if it does.

2
For a project I am looking into the options to construct a toolbox from one 'base profile' different MDG Imports in a modular format.

We have a 'base' profile (and toolbox) called MIM. For different purposes we would like to be able to add specific sets of tagged values to the elements of this MIM toolbox, based on the modeler's needs. These purposes may vary from project to project.

We would not only be able to extent the toolbox with one other profile, but (if needed) with a number of profiles. For example:
  • MIM+JSON+Domain-extention,
  • MIM+Publishing+Domain extention
  • etc.

It would be great if this is possible. And if so, I would like to know how to build this.


3
Hello Geert,

I got it all working the way I want.

Great thanks for your help!

Grtz.
Gerard

4
I am trying to use the Redefine Stereotypes in Another Profile approach, but it is not completely clear to me how this should be set up. I should have mentioned it before, but I am using EA 15.2.

  • I can't find the «redefines» stereotype in EA. Therefore I just used a «Generalization» and added a new stereotype «redefines»...
  • Do you create just a profile or a complete new MDG? I interpreted is as just creating a profile that you need to import along with the MDG you're overriding.

However, this doesn't do the trick  :-\

Gerard


5
Hello Geert,

"No, I don't think you can do anything about the order of the inherited tagged values." Ok, good to know.


Gerard

6
Hello Geert,

Thanks for your help! I got it (almost) working the way I initially expected. I was wondering: is there a way to manipulate the order of total set of tagged values of my extended type? I added a couple of tagged values. Their order I can set in the Features dialog, but since the inherited tagged values do not appear there (not even when I set the Compartment Visibility to show 'inherited tags'), I don't know how to do that for the totaal set of tagged values. It's a minor issue, but if it is possible, it would be nice to know!

Your suggestion on overwriting some of the standard MIM stereotypes is very interesting. Replicating all the toolboxes is a bit tedious indeed. It might be a better solution for this specific case, but as I mentioned before, I need a solution for a broader set of needs, so I have to look into that a bit further.

Gerard




7
Yes, your name sounds familiar too. So I am pleased you also know the content.

Of all the things I tried, I excluded that one. I reasoned that adding a UML type too, the MIM type would be bypassed. But this solves that problem indee: adding the UML type allowes me to add the stereotypes to the toolbox page.

However, when I create a technology, the new stereotypes only contain the extra tagged values, but what I need is, for example, a new Attribute type that contains all the MIM::Attribuutsoort TV's (like in this diagram, plus the new TV's.

And additionally, I want all MIM's stereotypes in the toolbox, but not as a duplicate, but linked!

8
Yeah sure! I put four images online so you can follow my proces: https://github.com/Geonovum/MIM-Werkomgeving/tree/master/UML%20profieltooling/troubleshooting_temp

1 | Package structure
2 | Adding DiSGeo stereotypes as an 'extention' (apparently a «Generalization» is needed) of MIM metamodel
3 | Add stereotypes to Toolbox page
4 | I can select them, but they don't appear

(Is there a way to include them into this post? Or is that blocked due to my novice status?)

9
Hello Geert,

I allready used the existing MDG (Resources > MDG Technologies > Model Technologies > Import Technology). I added a metaclass from the toolbox onto the profile diagram and for the package structure I used the Model Wizards MDG basic template, but I was wondering if there is a good practise for building extensions on extensions. The way you describe it, every extension seems to have a separate package that contains its own profiles).

Anyway, the problem is, that in the 'Add Toolbox Page' dialog, I should be able to use the 'Add' button to add a stereotype. Although I can select the newly created stereotype, it will not added to the list ... Is there something I'm missing?

10
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 Structural

Thus, 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

Pages: [1]