Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.gmf.graphdef.codegen/templates/top/localCoordinates.jetinc')
-rw-r--r--plugins/org.eclipse.gmf.graphdef.codegen/templates/top/localCoordinates.jetinc29
1 files changed, 0 insertions, 29 deletions
diff --git a/plugins/org.eclipse.gmf.graphdef.codegen/templates/top/localCoordinates.jetinc b/plugins/org.eclipse.gmf.graphdef.codegen/templates/top/localCoordinates.jetinc
deleted file mode 100644
index 94e33768e..000000000
--- a/plugins/org.eclipse.gmf.graphdef.codegen/templates/top/localCoordinates.jetinc
+++ /dev/null
@@ -1,29 +0,0 @@
-<%
-// simple heuristic to detect need for local coordinates
-boolean useLocalDefaultValue = false;
-for (java.util.Iterator it = figure.getChildren().iterator(); it.hasNext(); ) {
- if (it.next() instanceof Polyline) {
- useLocalDefaultValue = true;
- break;
- }
-}
-%>
- /**
- * @generated
- */
- private boolean myUseLocalCoordinates = <%=useLocalDefaultValue%>;
-
- /**
- * @generated
- */
- protected boolean useLocalCoordinates() {
- return myUseLocalCoordinates;
- }
-
- /**
- * @generated
- */
- protected void setUseLocalCoordinates(boolean useLocalCoordinates) {
- myUseLocalCoordinates = useLocalCoordinates;
- }
- \ No newline at end of file

Back to the top