[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Problem with generating the diagram code with GMF 2.0.2 and Eclipse 3.3.2

Hi,

I get the following expception when generating the diagram code. I am using GMF 2.0.2 with Eclipse 3.3.2.

This exception is seen with GMF 2.1.0 with Eclipse 3.4 also.

Exception (Couldn't find operation 'isSuperTypeOf(EClass)' for EDataType.:in xpt::editor::GenDiagram on line 35 '(EClass)gf.ecoreFeature.eType.isSuperTypeOf(eType)') while generating code

I did read a temporary solution in one of the older threads. Boris mentioned -

Hi Tarek,


As a quick workaround, I may suggest to add to the GenDiagram.ext file the following declaration:


private boolean isSuperTypeOf(ecore::EClassifier one, ecore::EClassifier another) :
false
;


This is not a permanent fix, but could at least let you proceed without waiting for us to fix this bug.

Sorry for the inconvenience and

Best regards,
Boris

Can someone let me know where I can find the GenDiagram.ext file ?

Thanks,
Sunil.