Try using org.eclipse.gmf.bridge.trace plugin (a part of SDK Experimental
). This plugin should be installed together with GMF. It was designed to
preserve visual id of the elements from generation to generation. You can
try following:
1. Transform .gmfmap to .gmfgen -+AD4- .trace file will be created together with
the .gmfgen model
2. Modify mapping and re-transform model -+AD4- visualID +- code structure should
not be changed so ugly.