[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()'

Alex Shatalin wrote:

This is wirght - InnerClassViewmap is not a subclass of EObject in
gmfgen.ecore
so due to the metainformation InnerClassViewmap has no .eContainer()
methods...

I think it's not try Alex. According to the GMF documentation, InnerClassViewmap extends from Viewmap and Viewmap extends from EObject, and EObject has an eContainer() method. I don't underestand why doesn't work. Could you explain me more, please? Thanks a lot!

InnerClassViewmap: (http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.gmf.doc/reference/api/tooling/org/eclipse/gmf/codegen/gmfgen/InnerClassViewmap.html)

Viewmap: (http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.gmf.doc/reference/api/tooling/org/eclipse/gmf/codegen/gmfgen/Viewmap.html)

EObject: http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.emf.doc/references/javadoc/org/eclipse/emf/ecore/EObject.html