Community
Participate
Working Groups
There's currently no way to access the GMF notation model from an EWL wizard that has been invoked from a diagram.
*** Bug 325160 has been marked as a duplicate of this bug. ***
Fixed in SVN r2420, in a somewhat roundabout way. Many EMF model editors (such as the ones generated by GMF) use an EditingDomain that inherits from the EMF AdapterFactoryEditingDomain, which stores the ResourceSet being edited. Therefore, we can do a checked downcast of the EditingDomain and expose the Resource objects different from the "Model" one as additional in-memory EMF models. I've decided to name each of these additional models from their file extension. For instance, a ".spdiag" resource will be exposed as "Spdiag". If we have more than one ".spdiag" resource, the second one will be "Spdiag2" and so on. I'll revise the examples a bit now.
I've extended the .ewl file for the flowchart example so it includes several wizards that change the notation model: http://dev.eclipse.org/svnroot/modeling/org.eclipse.epsilon/trunk/examples/org.eclipse.epsilon.eugenia.examples.flowchart.extensions/flowchart.ewl
Fixed in the latest interim version.
Fixed in version 1.2.