UMLElementTypes [message #476299] |
Mon, 26 January 2009 08:35  |
Eclipse User |
|
|
|
Hi,
I need certain customizations in the UML diagrams so I've decided to get
the source code, change what I need in the models, regenerate generator
model and then regenerate diagram's code (Using Generate UML2tools
Diagrams)
Well, I can regenerate the gmfGen model (ignoring validation errors as
I've read I must do) and then the code. However, in the generated class
UMLElementTypes.java, the type's ids are changed and those changes in the
ids are not propagated across the rest of the generated code. I would
expect such behavior in those parts tagged with @generated NOT but no in
the re-generated classes, and methods.
Then, after de generation, I Have many classes referencing non-existing
UMLElementTypes.
¿I'm missing something? Maybe the problem come from the GMF generator ¿Do
you need a specific version of GMF to generate the code?
I'm using source code from version 0.8 and GMF 2.1.
Cheers!
Salva.
|
|
|
Re: UMLElementTypes [message #476300 is a reply to message #476299] |
Tue, 27 January 2009 09:09  |
Eclipse User |
|
|
|
Finally the problem of the ids is solved. I've needed to install the
gmf.trace plugin to keep visualIDs generated properly. Now, the only
problem remaining regarding the regeneration is that there are missing
fields in the Messages.Java. The missed fields are needed in the package
org.eclipse.uml2.diagram.action.
Cheers!
Salva.
|
|
|
Re: UMLElementTypes [message #623526 is a reply to message #476299] |
Tue, 27 January 2009 09:09  |
Eclipse User |
|
|
|
Finally the problem of the ids is solved. I've needed to install the
gmf.trace plugin to keep visualIDs generated properly. Now, the only
problem remaining regarding the regeneration is that there are missing
fields in the Messages.Java. The missed fields are needed in the package
org.eclipse.uml2.diagram.action.
Cheers!
Salva.
|
|
|
Powered by
FUDForum. Page generated in 0.03166 seconds