Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2008-07-01 14:48:55 -0400
committeratikhomirov2008-07-01 14:48:55 -0400
commit4c1b50dd6967b14f17f67ea59773dc934fb04b7d (patch)
tree2c86f1f1183062669bcd186e7b5bf067ec597f04 /plugins
parent9f7f4a0c70c918dae4d1e0917e7576ce2e9e1e0a (diff)
downloadorg.eclipse.gmf-tooling-4c1b50dd6967b14f17f67ea59773dc934fb04b7d.tar.gz
org.eclipse.gmf-tooling-4c1b50dd6967b14f17f67ea59773dc934fb04b7d.tar.xz
org.eclipse.gmf-tooling-4c1b50dd6967b14f17f67ea59773dc934fb04b7d.zip
refactored templates moving towards [188329] - Support Java 5.0 (would need to respect generic types when adding into collections) while trying to accomplish [227127]
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.gmf.codegen.lite/templates/xpt/editor/CreationWizardPage.xpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.gmf.codegen.lite/templates/xpt/editor/CreationWizardPage.xpt b/plugins/org.eclipse.gmf.codegen.lite/templates/xpt/editor/CreationWizardPage.xpt
index d842a1ec0..31bdc8da0 100644
--- a/plugins/org.eclipse.gmf.codegen.lite/templates/xpt/editor/CreationWizardPage.xpt
+++ b/plugins/org.eclipse.gmf.codegen.lite/templates/xpt/editor/CreationWizardPage.xpt
@@ -416,7 +416,7 @@ private static «EXPAND MetaModel::QualifiedClassName FOR getDocumentRoot()» crea
«EXPAND MetaModel::NewInstance("docRoot") FOR getDocumentRoot()»
«LET getDocumentRootSetFeature() AS f»«IF f == null-»
docRoot.set«domainDiagramElement.ecoreClass.name»(model); // FIXME name of the set method is pure guess«ELSE-»
- «EXPAND MetaModel::setFeatureValue("docRoot", getDocumentRoot(), "model") FOR f»;«ENDIF»
+ «EXPAND MetaModel::modifyFeature("docRoot", getDocumentRoot(), "model") FOR f»;«ENDIF»
«ENDLET-»
return docRoot;
}

Back to the top