Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Generated diagram code does not respect interface name pattern - bug?
Generated diagram code does not respect interface name pattern - bug? [message #508914] Wed, 20 January 2010 17:08
h1055071 is currently offline h1055071Friend
Messages: 335
Registered: July 2009
Senior Member
In my domain's *.genmodel I have specified that my class name pattern is
{0} and my interface pattern is I{0}. This ensures that given the EClass
name "MyClass" the generated Java model interface is "IMyClass.java" and
the generated implementation class is "MyClass.java" (instead of the
default "MyClass.java" and "MyClassImpl.java").

This is all fine except for when I generate the diagram code from my
*.gmfgen file. The resulting Java code is full of errors because it is
using the names of interfaces without my "I" prefix ("MyClass" instead
of "IMyClass").

Is this a limitation of gmfgen or have I missed something?

TIA.

Phillipus
Previous Topic:initializing canvas
Next Topic:Difference between opening a diagram file via "File->Open" versus double clicking on th
Goto Forum:
  


Current Time: Sat Apr 17 21:19:59 GMT 2021

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

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

Back to the top