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
Hi!

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((("http://www.eclipse.org/emf/2002/Ecore"::EObject)this).eContainer())»
			// to do
		«ENDIF»
		...
	}
«ENDAROUND»


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?

Thanks.
Marc

[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: Thu Sep 26 03:05:13 GMT 2024

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

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

Back to the top