|
|
|
|
|
|
|
Re: Custom field on Property object in metamodel [message #1785740 is a reply to message #1785706] |
Thu, 19 April 2018 08:25 |
German Vega Messages: 104 Registered: December 2015 Location: Grenoble, France |
Senior Member |
|
|
Hello,
I do not think that there is such a thing as a "minimal tuto" for the Middleweight /Heavyweight approaches, they require deep knowledge of the UML metamodel and the eclipse modeling technologies (UML2, ecore, genmodel, UML2ecore transformation, ecore2Java generation, etc)
As the article itself points out
Quote:As you continue to read about the techniques for extending UML, you should keep the following in mind:
As much as possible, you should be favoring the "lightweight approach" or the use of profiles.
As much as possible, you should be leaning away from the use of "middleweight" extensions.
Quote:The main conclusion of this article is: The use of Middleweight extensions is discouraged and Lightweight extensions should be your first instinct. Heavyweight extensions should be used in rare cases where much control is required.
If you insist, you can find the file "UML.metamodel.uml" file in plugin org.eclipse.uml2.uml.resources (I don't know if it is the same for IBM RSA, I am not a user of IBM RSA and I do not how how it differs from the Eclipse open source UML2 project) ... you can import it into your workspace and extend it ... but then if you want to do something useful you will need to generate a java implementation from your model ... and that is very customized process ... personally I have never done it, so I can not help with it .... my personal feeling is that even the smaller POC will take you days, if not weeks ... unless you are very familiar with UML2 project ... but experts in the group (I am just a user of the UML2 project, not a committer) may have a clearer view ...
Perhaps if you come back to your initial needs (why do you need to add attributes to Properties of your model?) and explain us what you want to achieve, we can better guide you
|
|
|
Powered by
FUDForum. Page generated in 2.28808 seconds