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

Howdy folks,

This is a simple and somewhat stupid question, which I know I will find the answer for when I have looked some more (just unsure how much more).

It has, however, taken me some time not to find the answer, so here goes, maybe someone can easily save me quite some time. All the Adapters, AdapterFactories, ItemProviders, ContentProviders etc. take some time to digest.

How do I get hold of (an adapter of ) the model (which has been opened by the generated Multipage Editor)?

I need to get the (root) of my model (if by name/type, that is OK), and then later on be able to call getChildren() for example.

Then, when I have my hands on a piece of loaded model, it I want to get the properties. If it is an adapter, rather than the model, how do I get them?

Just a quick shot to see if I am lucky today :-)
/\/ikolaj