GMF-Generator doesn't customize gmfgraph::Figure [message #559302] |
Thu, 16 September 2010 06:23  |
Eclipse User |
|
|
|
Hi @ everyone
I have customized gmfgraph::Figure by creating an Figure.xpt like
«IMPORT 'http://www.eclipse.org/gmf/2006/GraphicalDefinition'»
«IMPORT 'http://www.eclipse.org/emf/2002/Ecore'»
«EXTENSION CustomUtil»
«EXTENSION Util»
«AROUND additions FOR gmfgraph::Figure»
...DO SOMETHING...
«ENDAROUND»
This should generate a
innerclass in my editpart like the following:
/**
* @generated
*/
public class SpecialStepPreviousStepFigure extends RectangleFigure {
/**
* @generated
*/
public SpecialStepPreviousStepFigure() {
this.setLineWidth(0);
this.setPreferredSize(new Dimension(getMapMode().DPtoLP(30),
getMapMode().DPtoLP(30)));
}
...DO SOMETHING...
This doesn't work anymore, only the default-constructor as shown above is created, my own contributions are ignored.
Can you help me?
Best regards
Markus
[Updated on: Thu, 16 September 2010 06:24] by Moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.09035 seconds