Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2008-04-17 11:58:50 +0000
committeratikhomirov2008-04-17 11:58:50 +0000
commitaafce4debdef256258a0561a5e2a634a6da84fcc (patch)
treed0543e4d6d1209d7d9ac4a9afbeac12dcbb790cf
parent3c292d55cf97f453975db1e44049f12ad938f7f3 (diff)
downloadorg.eclipse.gmf-tooling-20080417-1610.tar.gz
org.eclipse.gmf-tooling-20080417-1610.tar.xz
org.eclipse.gmf-tooling-20080417-1610.zip
[227505] Replace FeatureValueSpec generalization of ValueExpression with aggregation, as it's better approach to model such a conceptv20080417-1610
-rw-r--r--plugins/org.eclipse.gmf.bridge/src/org/eclipse/gmf/internal/bridge/genmodel/DiagramGenModelTransformer.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.gmf.bridge/src/org/eclipse/gmf/internal/bridge/genmodel/DiagramGenModelTransformer.java b/plugins/org.eclipse.gmf.bridge/src/org/eclipse/gmf/internal/bridge/genmodel/DiagramGenModelTransformer.java
index d684fdece..efcb2eb17 100644
--- a/plugins/org.eclipse.gmf.bridge/src/org/eclipse/gmf/internal/bridge/genmodel/DiagramGenModelTransformer.java
+++ b/plugins/org.eclipse.gmf.bridge/src/org/eclipse/gmf/internal/bridge/genmodel/DiagramGenModelTransformer.java
@@ -789,11 +789,11 @@ public class DiagramGenModelTransformer extends MappingTransformer {
if (featureInitializer instanceof FeatureValueSpec) {
FeatureValueSpec featureValSpec = (FeatureValueSpec) featureInitializer;
GenFeatureValueSpec genFeatureValSpec = GMFGenFactory.eINSTANCE.createGenFeatureValueSpec();
- genFeatureValSpec.setBody(featureValSpec.getBody());
- genFeatureValSpec.setLanguage(createGenLanguage(featureValSpec.getLanguage()));
+ genFeatureValSpec.setBody(featureValSpec.getValue().getBody());
+ genFeatureValSpec.setLanguage(createGenLanguage(featureValSpec.getValue().getLanguage()));
genFeatureValSpec.setFeature(findGenFeature(featureValSpec.getFeature()));
- bindToProvider(featureValSpec, genFeatureValSpec);
+ bindToProvider(featureValSpec.getValue(), genFeatureValSpec);
return genFeatureValSpec;
} else if (featureInitializer instanceof ReferenceNewElementSpec) {
ReferenceNewElementSpec newElementSpec = (ReferenceNewElementSpec) featureInitializer;

Back to the top