Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.gmf.graphdef.codegen/templates/Extras.xpt')
-rw-r--r--plugins/org.eclipse.gmf.graphdef.codegen/templates/Extras.xpt32
1 files changed, 2 insertions, 30 deletions
diff --git a/plugins/org.eclipse.gmf.graphdef.codegen/templates/Extras.xpt b/plugins/org.eclipse.gmf.graphdef.codegen/templates/Extras.xpt
index 45b38fbc5..7373be5d2 100644
--- a/plugins/org.eclipse.gmf.graphdef.codegen/templates/Extras.xpt
+++ b/plugins/org.eclipse.gmf.graphdef.codegen/templates/Extras.xpt
@@ -14,41 +14,13 @@
«EXTENSION Util»
-«DEFINE localCoordinates FOR gmfgraph::RealFigure»
- /**
- * @generated
- */
- private boolean myUseLocalCoordinates = «children[gmfgraph::Polyline]->notEmpty()»;
-
- /**
- * @generated
- */
- protected boolean useLocalCoordinates() {
- return myUseLocalCoordinates;
- }
-
- /**
- * @generated
- */
- protected void setUseLocalCoordinates(boolean useLocalCoordinates) {
- myUseLocalCoordinates = useLocalCoordinates;
- }
-«ENDDEFINE»
-
-«DEFINE localCoordinates FOR gmfgraph::Polyline-»
-«ENDDEFINE»
-
-«DEFINE localCoordinates FOR gmfgraph::Label-»
-«ENDDEFINE»
-
-
-«DEFINE extraMethods FOR gmfgraph::Figure-»
-«ENDDEFINE»
+«DEFINE extraMethods FOR gmfgraph::Figure»«ENDDEFINE»
«DEFINE extraMethods FOR gmfgraph::SVGFigure-»
«EXPAND svgProperty FOREACH properties-»
«ENDDEFINE»
+// XXX move to distinct location (folder)
«DEFINE svgProperty FOR gmfgraph::SVGProperty-»
«IF getter <> null-»
«EXPAND svgPropertyGetter-»

Back to the top