Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2006-02-24 18:50:22 +0000
committeratikhomirov2006-02-24 18:50:22 +0000
commitb3ac3e9d8d1bb620fbd3ef5c354e66d988b78ef8 (patch)
tree20e14f28f0421e6c1442e66f9a9294e79aaca07c /plugins/org.eclipse.gmf.graphdef.codegen
parent2be9161ccc650a4482a5eb3d48a4625633db9ab3 (diff)
downloadorg.eclipse.gmf-tooling-b3ac3e9d8d1bb620fbd3ef5c354e66d988b78ef8.tar.gz
org.eclipse.gmf-tooling-b3ac3e9d8d1bb620fbd3ef5c354e66d988b78ef8.tar.xz
org.eclipse.gmf-tooling-b3ac3e9d8d1bb620fbd3ef5c354e66d988b78ef8.zip
[mgolubev] #129362 move runtime-specific fqn out from templates to external switch
Diffstat (limited to 'plugins/org.eclipse.gmf.graphdef.codegen')
-rw-r--r--plugins/org.eclipse.gmf.graphdef.codegen/src/org/eclipse/gmf/graphdef/codegen/templates/TopConnectionGenerator.java2
-rw-r--r--plugins/org.eclipse.gmf.graphdef.codegen/templates/top/PolylineConnection.javajet2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.gmf.graphdef.codegen/src/org/eclipse/gmf/graphdef/codegen/templates/TopConnectionGenerator.java b/plugins/org.eclipse.gmf.graphdef.codegen/src/org/eclipse/gmf/graphdef/codegen/templates/TopConnectionGenerator.java
index 2824b2c07..a8bcc55b8 100644
--- a/plugins/org.eclipse.gmf.graphdef.codegen/src/org/eclipse/gmf/graphdef/codegen/templates/TopConnectionGenerator.java
+++ b/plugins/org.eclipse.gmf.graphdef.codegen/src/org/eclipse/gmf/graphdef/codegen/templates/TopConnectionGenerator.java
@@ -52,7 +52,7 @@ final GraphDefDispatcher dispatcher = (GraphDefDispatcher) args[3];
stringBuffer.append(TEXT_2);
stringBuffer.append(figure.getName());
stringBuffer.append(TEXT_3);
- stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx"));
+ stringBuffer.append(importManager.getImportedName((String) fqnSwitch.doSwitch(figure)));
stringBuffer.append(TEXT_4);
stringBuffer.append(figure.getName());
stringBuffer.append(TEXT_5);
diff --git a/plugins/org.eclipse.gmf.graphdef.codegen/templates/top/PolylineConnection.javajet b/plugins/org.eclipse.gmf.graphdef.codegen/templates/top/PolylineConnection.javajet
index c794eab65..2c6996263 100644
--- a/plugins/org.eclipse.gmf.graphdef.codegen/templates/top/PolylineConnection.javajet
+++ b/plugins/org.eclipse.gmf.graphdef.codegen/templates/top/PolylineConnection.javajet
@@ -13,7 +13,7 @@ final GraphDefDispatcher dispatcher = (GraphDefDispatcher) args[3];
/**
* @generated
*/
-public class <%=figure.getName()%> extends <%=importManager.getImportedName("org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx")%> {
+public class <%=figure.getName()%> extends <%=importManager.getImportedName((String) fqnSwitch.doSwitch(figure))%> {
/**
* @generated

Back to the top