Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » GMF Xpand templates: access to the eContainer
icon9.gif  GMF Xpand templates: access to the eContainer [message #503000] Thu, 10 December 2009 14:47
Marc Mising name is currently offline Marc Mising nameFriend
Messages: 193
Registered: July 2009
Location: Valencia, Spain
Senior Member

I want to access to the element eContainer to check this kind. The code is the following:
«AROUND labelFigure FOR gmfgen::Viewmap-»
	protected org.eclipse.draw2d.IFigure createFigure() {
		«IF gmfgen::GenChildLabelNode.isInstance(((""::EObject)this).eContainer())»
			// to do

I import the EMF metamodel in the xpt file.
But it doesn't work. No code is generated. I need help... Crying or Very Sad Could anybody help me, please?


[Updated on: Thu, 10 December 2009 14:48]

Report message to a moderator

Previous Topic:Re: Error in closing generated GMF editor
Next Topic:Commercial GMF users
Goto Forum:

Current Time: Fri Apr 23 13:55:40 GMT 2021

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

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

Back to the top