Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashatalin2006-01-10 16:16:49 +0000
committerashatalin2006-01-10 16:16:49 +0000
commite05f13c0962c0b216c5523c33196c526c311fba3 (patch)
treeb8775be1b6dd34e95cd922f1b14578a524c62d9e /plugins/org.eclipse.gmf.graphdef.codegen/templates
parentae4e2ba638944201f4cfea59a453b09758781c17 (diff)
downloadorg.eclipse.gmf-tooling-e05f13c0962c0b216c5523c33196c526c311fba3.tar.gz
org.eclipse.gmf-tooling-e05f13c0962c0b216c5523c33196c526c311fba3.tar.xz
org.eclipse.gmf-tooling-e05f13c0962c0b216c5523c33196c526c311fba3.zip
As a part of implementstion
#114178,114179 "Shortcutting" diagram elements.
Diffstat (limited to 'plugins/org.eclipse.gmf.graphdef.codegen/templates')
-rw-r--r--plugins/org.eclipse.gmf.graphdef.codegen/templates/PolylineConnection.javajet2
-rw-r--r--plugins/org.eclipse.gmf.graphdef.codegen/templates/decoration.jetinc1
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.gmf.graphdef.codegen/templates/PolylineConnection.javajet b/plugins/org.eclipse.gmf.graphdef.codegen/templates/PolylineConnection.javajet
index cc17acc7b..21a6552b7 100644
--- a/plugins/org.eclipse.gmf.graphdef.codegen/templates/PolylineConnection.javajet
+++ b/plugins/org.eclipse.gmf.graphdef.codegen/templates/PolylineConnection.javajet
@@ -9,7 +9,7 @@ final GMFGraphSwitch fqnSwitch = new FigureQualifiedNameSwitch();
/**
* @generated
*/
-public class <%=figure.getName()%> extends <%=fqnSwitch.doSwitch(figure)%> {
+public class <%=figure.getName()%> extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {
/**
* @generated
diff --git a/plugins/org.eclipse.gmf.graphdef.codegen/templates/decoration.jetinc b/plugins/org.eclipse.gmf.graphdef.codegen/templates/decoration.jetinc
index 447a41e18..a87684ad9 100644
--- a/plugins/org.eclipse.gmf.graphdef.codegen/templates/decoration.jetinc
+++ b/plugins/org.eclipse.gmf.graphdef.codegen/templates/decoration.jetinc
@@ -9,3 +9,4 @@
<%} /*for*/ %>
<%=decFigVarName%>.setTemplate(pl);
<%} /*if instanceof */ %>
+ <%=decFigVarName%>.setScale(getMapMode().DPtoLP(7), getMapMode().DPtoLP(3)); \ No newline at end of file

Back to the top