Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Can GMF handle derived types?
Can GMF handle derived types? [message #73623] Thu, 02 November 2006 17:37 Go to next message
Eclipse UserFriend
Can GMF handle derived types?

Since I couldn't manage to get GMF properly handle my relations as
a work-around I redesigned my model such that two types extend a
common super type (which I then use as target type for the references).

But this now leads to faulty code, i.e. compile errors in the generated
source (in a piece of code that does some label mapping. The "name"
attribute is common and thus I defined it in the super type. But now
the getFigure<TypeFigure>() method seems missing in the derived
types).

So I wonder: are derived types supported by GMF 2.0M2?

Michael
Re: Can GMF handle derived types? [message #73925 is a reply to message #73623] Fri, 03 November 2006 06:18 Go to previous message
Eclipse UserFriend
Hi,

Please check the thread "Missing methods in a generated Class" (2006-09-19).

Regards,
Michael

"Michael Moser" <mmo@zurich.ibm.com> wrote in message
news:eidrvk$9ia$1@utils.eclipse.org...
> Can GMF handle derived types?
>
> Since I couldn't manage to get GMF properly handle my relations as
> a work-around I redesigned my model such that two types extend a
> common super type (which I then use as target type for the references).
>
> But this now leads to faulty code, i.e. compile errors in the generated
> source (in a piece of code that does some label mapping. The "name"
> attribute is common and thus I defined it in the super type. But now
> the getFigure<TypeFigure>() method seems missing in the derived
> types).
>
> So I wonder: are derived types supported by GMF 2.0M2?
>
> Michael
>
Previous Topic:Tutorial4, RCP gmfgen creation fails
Next Topic:Re: How to override ItemProvider and use a custom table cell editor for a referenced Feature in the
Goto Forum:
  


Current Time: Sun Jun 01 21:05:04 EDT 2025

Powered by FUDForum. Page generated in 0.07123 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top