[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Diagram Runtime Class must be a notation::Diagram or sub-class

Hi

I found out the problem here.

symptoms:
If I deleted the genmodel and created a new one, then deleted my gmfgen
and generated a new one. Then if I started to generate my diag code I
got this error.

Solution:

I found I had org.eclipse.core.runtime in my dsl model project.
If I deleted this and regenerated, everything worked!

I had been playing around getting the xpand code editor working in the past few weeks and it must have got in there then?

Now working again ;-) Fortunately I had an instances of working projects and apple time machine/capsule


regards Steve

Alex Shatalin wrote:
Hello Bill,

I did notice that the bottom of the genmodel when opened in its editor
has a ref to notation.ecore. Any idea where I might start to look to
Was it referenced as platform:/plugin? Or platform:/resource?

resolve this?
in corresponding .gmfgen model - you have to check references to a notation.ecore elements there.

-----------------
Alex Shatalin