Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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