Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » How to handle packageimport uml element in M2T
How to handle packageimport uml element in M2T [message #668568] Fri, 06 May 2011 09:22
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 25
Registered: February 2010
Junior Member
Hi,

I have uml model referencing another um model via packageimport....

When I use a class from the imported uml model, M2T is not able to figure out the package of the class....

So do I have to do anything special in the mwe workflow for this package import element like we are doing uml profiles?

For ex for Profiles I have to do this
<bean id="datatype" class="org.eclipse.xtend.typesystem.uml2.profile.ProfileMetaModel">
		<profile value="platform:/resource/src/main/resources/model/Datatype.profile.uml"/>
	</bean>


and in generator
<component id="JavaGenerator" class="org.eclipse.xpand2.Generator"
		skipOnErrors="true">
		<fileEncoding value="ISO-8859-1" />
		<!--metaModel idRef="EmfMM" /-->
		<metaModel idRef="uml" />
		<metaModel idRef="datatype" />
.....
</component>


is something like this necessary for packageimport.

Thx for the answers...

Previous Topic:fichier exécutable
Next Topic:executable file
Goto Forum:
  


Current Time: Thu Dec 26 15:46:02 GMT 2024

Powered by FUDForum. Page generated in 0.05480 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top