Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Diagram generation does not respect the Interface Name Pattern supplied in genmodel ?(GMF Code Generation Problem )
Diagram generation does not respect the Interface Name Pattern supplied in genmodel ? [message #686434] Wed, 22 June 2011 04:45 Go to next message
Eclipse UserFriend
Diagram generation does not respect the Interface Name Pattern supplied in genmodel ?

With custom 'Class Name Pattern' and 'Interface Name Pattern' properties in the genmodel, the generated GMF code has compilation errors because it's referencing the default classes and interfaces names.

Has anybody else this problem ? There is a Bugzilla (317241) but it's open one year ago and stills has no answers.

Thanks.
(no subject) [message #686486 is a reply to message #686434] Wed, 22 June 2011 06:37 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

This is indeed a bug which has not been fixed.
As a workaroundm you should try to find out the template file in
org.eclipse,gmf,codegin that is responsible for deducing the name of the
Interface from the domain type, modify it, and use it during your code
generation.
Please append your progress to bug 317241 so that it will be easier for
fix definitely.

Regards,

On 22/06/2011 10:45, Andres Alvarez Mattos wrote:
> Diagram generation does not respect the Interface Name Pattern supplied
> in genmodel ?
>
> With custom 'Class Name Pattern' and 'Interface Name Pattern' properties
> in the genmodel, the generated GMF code has compilation errors because
> it's referencing the default classes and interfaces names.
>
> Has anybody else this problem ? There is a Bugzilla (317241) but it's
> open one year ago and stills has no answers.
>
> Thanks.
Re: (no subject) [message #686490 is a reply to message #686486] Wed, 22 June 2011 06:46 Go to previous messageGo to next message
Eclipse UserFriend
Hi Mickael, I will try to modify the templates. I'll let you know if I can.

Thanks and regards,

Andres.
Re: (no subject) [message #882302 is a reply to message #686490] Wed, 06 June 2012 04:10 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Iam facing similar issue - Diagram generation does not respect the interface name pattern supplied in genmodel ?

Is there solution for this

Thanks,
Sarath
Re: Diagram generation does not respect the Interface Name Pattern supplied in genmodel ? [message #882324 is a reply to message #686434] Wed, 06 June 2012 04:59 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Iam facing similar issue

Diagram generation does not respect the Interface Name Pattern supplied in genmodel ?

With custom 'Class Name Pattern' and 'Interface Name Pattern' properties in the genmodel, the generated GMF code has compilation errors because it's referencing the default classes and interfaces names.

Is there any solution for this

Thanks,
Sarath
Re: Diagram generation does not respect the Interface Name Pattern supplied in genmodel ? [message #882462 is a reply to message #882324] Wed, 06 June 2012 10:00 Go to previous message
Eclipse UserFriend
Followed ttps://bugs.eclipse.org/bugs/show_bug.cgi?id=317241

It worked fine...
Previous Topic:Generate configuration file out of GMF
Next Topic:Problem with Display thread
Goto Forum:
  


Current Time: Wed Jul 23 18:21:19 EDT 2025

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

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

Back to the top