|Using types from additional MetaModels [message #1700145]
||Tue, 30 June 2015 11:57
| Jim S.
Registered: October 2014
I write an editor for a model that can be extended. Some objects in my metamodel have an URI attached that points to an EObject that I want to display in the diagram. The corresponding boxes get displayed but I cannot execute any queries on them. I get this error message from Acceleo:
!MESSAGE Compilation error for expression [self.getEntityName()/] : Cannot find operation (getEntityName()) for the type (Role)
The Metamodel is registered in the EPackage.Registry.INSTANCE and it is a normal ECore Model so I don`t think I need to register any additional factories.
What do I need to do for my expressions to be compiled successfuly?
EDIT: The plug-in which defines the additional MetaModel is registered in my MANIFEST.mf as a dependency.
[Updated on: Tue, 30 June 2015 12:00]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01341 seconds