Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashatalin2008-06-28 11:38:29 -0400
committerashatalin2008-06-28 11:38:29 -0400
commit5b3872c2f8a9112b29dffa3a840145c6288e50e5 (patch)
tree8fdb5dbe65ce054610702d0df2aec17603ed27d3 /plugins
parentb3186aa9f43e4849db4d8c9e5278b7b731edc96f (diff)
downloadorg.eclipse.gmf-tooling-5b3872c2f8a9112b29dffa3a840145c6288e50e5.tar.gz
org.eclipse.gmf-tooling-5b3872c2f8a9112b29dffa3a840145c6288e50e5.tar.xz
org.eclipse.gmf-tooling-5b3872c2f8a9112b29dffa3a840145c6288e50e5.zip
[238876] - Reconcile GenJavaExpressionProvider.injectExpressionBody property on gmfmap->gmfgen transformation
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/internal/codegen/util/GMFGenConfig.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/internal/codegen/util/GMFGenConfig.java b/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/internal/codegen/util/GMFGenConfig.java
index 055ebaa8e..08f1fab83 100644
--- a/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/internal/codegen/util/GMFGenConfig.java
+++ b/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/internal/codegen/util/GMFGenConfig.java
@@ -16,7 +16,6 @@ import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.gmf.codegen.gmfgen.GMFGenPackage;
-import org.eclipse.gmf.codegen.gmfgen.GenLink;
import org.eclipse.gmf.codegen.gmfgen.GenStandardPreferencePage;
import org.eclipse.gmf.internal.common.reconcile.Copier;
import org.eclipse.gmf.internal.common.reconcile.Decision;
@@ -247,6 +246,10 @@ public class GMFGenConfig extends ReconcilerConfigBase {
preserveIfSet(GMFGEN.getDynamicModelAccess(), GMFGEN.getDynamicModelAccess_ClassName());
preserveIfSet(GMFGEN.getDynamicModelAccess(), GMFGEN.getDynamicModelAccess_PackageName());
setCopier(GMFGEN.getDynamicModelAccess(), Copier.COMPLETE_COPY);
+
+ setMatcher(GMFGEN.getGenExpressionProviderContainer(), ALWAYS_MATCH);
+ setMatcher(GMFGEN.getGenJavaExpressionProvider(), ALWAYS_MATCH);
+ preserveIfSet(GMFGEN.getGenJavaExpressionProvider(), GMFGEN.getGenJavaExpressionProvider_InjectExpressionBody());
}
// XXX rename?: preserveOld

Back to the top