[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.mdt.uml2] Generating Java-classes?

Hi,

I want to use the UML-metamodel in order to develop a modeling-tool. So I generated a UML.genmodel from the uml.ecore . Then I right-clicked the genmodel and chose "Generate Model Code".

Unfortunatly the generated classes contain one error. That is located in the generated CombinedFragment.java, where a method was created named "break", which is obviously a Java-keyword. "break" is the name of an operation in the CombinedFragment-type in the metamodel.

So my question is, how can I fix it? Or am I going in a wrong direction? I guess this is a noob-question, because people probably generate the Java-classes from the model all the time, right?


thank you