Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2006-02-24 10:11:33 -0500
committeratikhomirov2006-02-24 10:11:33 -0500
commitdf8fde41975e952f23f9d58b51075d2308f5d91e (patch)
treec4f7a7c0559e4d446af426529b07c1a21180033d /plugins/org.eclipse.gmf.graphdef.codegen/templates/attr/PolylineDecoration.javajet
parent5db300a6e2975b53d1b6f4e2ea23448b33b19be8 (diff)
downloadorg.eclipse.gmf-tooling-df8fde41975e952f23f9d58b51075d2308f5d91e.tar.gz
org.eclipse.gmf-tooling-df8fde41975e952f23f9d58b51075d2308f5d91e.tar.xz
org.eclipse.gmf-tooling-df8fde41975e952f23f9d58b51075d2308f5d91e.zip
[mgolubev] #129328 handle MapMode access in a variety of ways
Diffstat (limited to 'plugins/org.eclipse.gmf.graphdef.codegen/templates/attr/PolylineDecoration.javajet')
-rw-r--r--plugins/org.eclipse.gmf.graphdef.codegen/templates/attr/PolylineDecoration.javajet2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.gmf.graphdef.codegen/templates/attr/PolylineDecoration.javajet b/plugins/org.eclipse.gmf.graphdef.codegen/templates/attr/PolylineDecoration.javajet
index b4edce689..d7f485228 100644
--- a/plugins/org.eclipse.gmf.graphdef.codegen/templates/attr/PolylineDecoration.javajet
+++ b/plugins/org.eclipse.gmf.graphdef.codegen/templates/attr/PolylineDecoration.javajet
@@ -17,5 +17,5 @@ final ImportAssistant importManager = dispatcher.getImportManager();
pl.addPoint(<%=p.getX()%>, <%=p.getY()%>);
<% } /*for*/ %>
<%=figureVarName%>.setTemplate(pl);
- <%=figureVarName%>.setScale(getMapMode().DPtoLP(7), getMapMode().DPtoLP(3));
+ <%=figureVarName%>.setScale(<%=dispatcher.DPtoLP(7)%>, <%=dispatcher.DPtoLP(3)%>);
<% } /*!if getTemplate().isEmpty()*/ %>

Back to the top