[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: [Templates] Couldn't find operation 'eContainer()'

Hello Marc,

line 213 'this.eContainer()') while generating code
Couldn't find operation 'eContainer()' for InnerClassViewmap.:in
aspects::impl::diagram::editparts::NodeEditPart on line 213
'this.eContainer()'
This is wirght - InnerClassViewmap is not a subclass of EObject in gmfgen.ecore so due to the metainformation InnerClassViewmap has no .eContainer() methods... Try to avoid usage of .eContainer() (and any other EObject-related methods) in your templates or write java code + call it from the xpand.

-----------------
Alex Shatalin