| [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 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.
/\/ikolaj