Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashatalin2009-02-24 13:00:30 -0500
committerashatalin2009-02-24 13:00:30 -0500
commitba205153988d47dbc5683295450de76e9bf5fed3 (patch)
tree941e13b219b58098aba7bdc674c278e3357b9f2e
parent8da3f1082dbe6564a3ab5013aeb2e16b6ce261d0 (diff)
downloadorg.eclipse.gmf-tooling-ba205153988d47dbc5683295450de76e9bf5fed3.tar.gz
org.eclipse.gmf-tooling-ba205153988d47dbc5683295450de76e9bf5fed3.tar.xz
org.eclipse.gmf-tooling-ba205153988d47dbc5683295450de76e9bf5fed3.zip
Correcting compilation problem
-rw-r--r--plugins/org.eclipse.gmf.codegen/templates.migrated/xpt/diagram/views/Utils.xpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/templates.migrated/xpt/diagram/views/Utils.xpt b/plugins/org.eclipse.gmf.codegen/templates.migrated/xpt/diagram/views/Utils.xpt
index cc501f88d..ba8bc695c 100644
--- a/plugins/org.eclipse.gmf.codegen/templates.migrated/xpt/diagram/views/Utils.xpt
+++ b/plugins/org.eclipse.gmf.codegen/templates.migrated/xpt/diagram/views/Utils.xpt
@@ -77,7 +77,7 @@
// viewVar must be already inserted into a diagram (view.getDiagram() should be meaningful)
«DEFINE offset(String viewVar, x : Integer, y : Integer) FOR gmfgen::GenLabel-»
org.eclipse.gmf.runtime.notation.Location location«visualID» = (org.eclipse.gmf.runtime.notation.Location) «viewVar».getLayoutConstraint();
-«IF self.isPixelMapMode()-»
+«IF self.getDiagram().isPixelMapMode()-»
location«visualID».setX(«x»);
location«visualID».setY(«y»);
«ELSE-»

Back to the top