Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » UMLElementTypes
UMLElementTypes [message #476299] Mon, 26 January 2009 13:35 Go to next message
Salva is currently offline Salva
Messages: 29
Registered: July 2009
Junior Member
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 14:09 Go to previous message
Salva is currently offline Salva
Messages: 29
Registered: July 2009
Junior Member
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 14:09 Go to previous message
Salva is currently offline Salva
Messages: 29
Registered: July 2009
Junior Member
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.
Previous Topic:UMLElementTypes
Next Topic:Acivity Diagram: Saving notes content to the uml model
Goto Forum:
  


Current Time: Wed Oct 01 18:29:07 GMT 2014

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

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