| Generated diagram code does not respect interface name pattern - bug? [message #508934] |
Wed, 20 January 2010 12:50  |
Eclipse User |
|
|
|
(Apologies for cross-posting, I posted this in the GMF newsgroup but I'm
afraid to say that that group can be a little "quiet", and this one is
more lively and may have more readers)
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
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06504 seconds