[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.emf] Re: use EMF model from GEF

You can access the model from the EditingDomain returned by
getEditingDomain() of the generated editor. The EditingDomain is the central
holder of the model for an Editor. The model objects are retrieved by
calling getResourceSet() on it. After that you can get the children,
properties, etc., by calling adapt() on the editors adapter factory, using
the appropriate adapter type.

Thanks Frank,

I will see where that hint takes me (particularly I am a bit unsure which "appropriate adapter type"s you are thinking about, but is a big step closer!

I realize that this is a shameless plug, but if you're having trouble
getting your head around all of the framework pieces, our EMF book,
http://www.awprofessional.com/titles/0131425420 , is the best resource.

It has already been ordered. I am still looking forward to the redbook about EMF+GEF. Do you know what the status is?


/\/ikolaj