Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » how to access .gmfgen root node?
how to access .gmfgen root node? [message #586281] Tue, 16 February 2010 12:23 Go to next message
m kranz is currently offline m kranz
Messages: 69
Registered: January 2010
Member
hi

just a short question. i am currently playing around with eol and the FixGMFGen.eol file trying to modify the .gmfgen model.
while i figured out how to access nodes further inside the model, i somehow fail to access the root node (GenEditorGenerator).
can someone please give me a hint?
thanks

marco
Re: how to access .gmfgen root node? [message #586298 is a reply to message #586281] Tue, 16 February 2010 12:32 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Marco,

I'm able to get hold of this using the following code:

var root = GmfGen!GenEditorGenerator.all.first();
root.println();

Cheers,
Dimitris

Marco.Kranz@fokus.fraunhofer.de wrote:
> hi
>
> just a short question. i am currently playing around with eol and the
> FixGMFGen.eol file trying to modify the .gmfgen model.
> while i figured out how to access nodes further inside the model, i
> somehow fail to access the root node (GenEditorGenerator).
> can someone please give me a hint?
> thanks
>
> marco


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Previous Topic:Eugenia: Nodes with images instead of shapes
Next Topic:[EUGENIA] Questions about examples.friends
Goto Forum:
  


Current Time: Wed Oct 01 04:23:47 GMT 2014

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

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