[ATL] Applying Stereotypes with ATL 3.0 [message #105905] |
Tue, 02 June 2009 09:31 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.05325 seconds