Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 08:45 Go to next message
Andres Alvarez Mattos is currently offline Andres Alvarez MattosFriend
Messages: 3
Registered: June 2011
Junior Member
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 10:37 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

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 10:46 Go to previous messageGo to next message
Andres Alvarez Mattos is currently offline Andres Alvarez MattosFriend
Messages: 3
Registered: June 2011
Junior Member
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 08:10 Go to previous messageGo to next message
Sarath Rachakonda is currently offline Sarath RachakondaFriend
Messages: 16
Registered: May 2012
Junior Member
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 08:59 Go to previous messageGo to next message
Sarath Rachakonda is currently offline Sarath RachakondaFriend
Messages: 16
Registered: May 2012
Junior Member
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 14:00 Go to previous message
Sarath Rachakonda is currently offline Sarath RachakondaFriend
Messages: 16
Registered: May 2012
Junior Member
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: Fri Apr 19 19:57:56 GMT 2024

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

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

Back to the top