GMF-Generator doesn't customize gmfgraph::Figure [message #559302] |
Thu, 16 September 2010 10:23 |
|
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 10:24] Report message to a moderator
|
|
|
|
Re: GMF-Generator doesn't customize gmfgraph::Figure [message #628780 is a reply to message #559538] |
Fri, 24 September 2010 06:27 |
|
Hi again,
thank you for your quick answer,
I think the problem is a different one.
I have enabled custom templates while using galileo.
Now I wanted to port my editors to helios and with this it doesn't work anymore.
So it principally worked with the old eclipse version.
Did something in structure change, so that the gmf-generator doesn't find the xpts?
can I debug or increase log-messages using the generator?
Best regards
Markus
[Updated on: Fri, 24 September 2010 06:28] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.04536 seconds