Skip to main content



      Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Applying Stereotypes with ATL 3.0
[ATL] Applying Stereotypes with ATL 3.0 [message #105905] Tue, 02 June 2009 09:31
Eclipse UserFriend
Hello,

I am trying to apply UML Profile/Stereotypes with ATL programmatically.


Therefore I modified the "public2private" example.

I thought adding this code snippet was enough to handle Profile/Stereotypes:

IReferenceModel profileUML=factory.newReferenceModel();

injector.inject(profileUML, "http://www.eclipse.org/uml2/2.1.0/UML");

IModel profileModel = factory.newModel(profileUML);

launcher.addInModel(profileModel, "PRO", "UML2");


Unfortunately, I thought wrong. I get the error message:

java.lang.RuntimeException:
org.eclipse.m2m.atl.engine.emfvm.VMException: Operation not found:
OUT!TestModel:UML2!Model.applyProfile(org.eclipse.m2m.atl.en gine.emfvm.lib.OclUndefined)


How can I solve this error ?

Regards,

Daison
Previous Topic:[ATL] Using external resources in ecore Meta-model
Next Topic:[ATL] HOT transformation
Goto Forum:
  


Current Time: Sat Jul 26 07:35:35 EDT 2025

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

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

Back to the top