|
Re: Apply Profiles to UML models? [message #50000 is a reply to message #49198] |
Thu, 28 June 2007 12:12 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: Hugo.Bruneliere.univ-nantes.fr
Leila a écrit :
> Hi All,
Hi Leila,
> I've seen many Q&A on the subject of applying profiles to an UML model.
> I've seen Dennis' examples. I've also seen posted examples that use
> applyProfile and getAppliedProfile methods. I'm trying to use such
> example (copied from the messages in this newsgroup) and I'm getting the
> following error(s):
>
> message: ERROR: could not find operation getAppliedProfile on UML2!Model
> having supertypes: [UML2!Package, OclType, OclAny] (including Java
> operations)
>
> Message: ERROR: could not find operation getAppliedStereotypes on
> UML2!Class having supertypes: [UML2!BehavioredClassifier,
> UML2!EncapsulatedClassifier, OclType, OclAny] (including Java operations)
>
> In short, I'm a little lost :).
>
> Could anyone explain how given a uml model M1 (.uml) and a uml profile
> P1 (.uml) I can generate a new model which results in the application of
> profile P1 to model M1?
>
> Is there still a problem on doing so? I'm guessing it was fixed by now...
Of course, it is possible to do that using ATL: I have recently been
working on developing such a transformation scenario of applying a UML
profile and it works well.
I'm using the latest version of ATL including the "uml4atl" UML2 driver:
see the complete thread
http://dev.eclipse.org/newslists/news.eclipse.modeling.m2m/m sg01124.html
for getting some instructions on how to install and use it.
Note that the use of this driver also requires the Eclipse/MDT UML2
component to be installed.
You can then used the UML2 model handler (instead of the EMF standard
one) to load the UML2 metamodel and to load the UML2 models.
> Thanks!
>
> - Leila
>
>
Best regards,
Hugo
--
--------------------------------------------------------
Hugo Bruneliere - R&D Engineer
ATLAS Group (INRIA & LINA) - University of Nantes
2, rue de la Houssiniere
44322 Nantes Cedex 3 - France
office +33 2 51 12 58 10 /\ cell.+33 6 07 42 45 30
EMail: Hugo.Bruneliere@univ-nantes.fr
http://www.sciences.univ-nantes.fr/lina/atl/
--------------------------------------------------------
|
|
|
|
Powered by
FUDForum. Page generated in 0.03529 seconds