Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo] Papyrus UML Profiles (How to use UML profiles in Acceleo)
[Acceleo] Papyrus UML Profiles [message #655883] Tue, 22 February 2011 20:39 Go to previous message
No real name is currently offline No real name
Messages: 5
Registered: February 2011
Junior Member
Hi,

I created an UML profile with Papyrus, and now I have a model.profile.uml file with the metamodel, and an instance of this metamodel in instance.uml.

Now I'd like to generate code from it using Acceleo. Can I somehow import the meta-model into a template? I already tried to reference it via "platform:/resource/path_to_the_profile", but it keeps telling me that the metamodel couldn't be resolved.

Do I have to use the standard UML2 metamodel instead and use UML APIs, like getAppliedStereotypes(), instead?

Thanks in advance,
Jay

EDIT
Sorry for the double post, my connection lagged and I hit the submit button twice.

[Updated on: Tue, 22 February 2011 20:44]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:[Acceleo] Papyrus UML Profiles
Next Topic:xPand and TaggedValues
Goto Forum:
  


Current Time: Tue Jun 18 04:00:44 EDT 2013

Powered by FUDForum. Page generated in 0.02549 seconds