Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashatalin2008-07-16 14:15:30 +0000
committerashatalin2008-07-16 14:15:30 +0000
commitf61df1f20284e8306e692a031ac735db97af19a0 (patch)
treec118024602a31cd1ec7c24e7e4b6d25be1904a7d /plugins/org.eclipse.gmf.codegen/templates/xpt/diagram/editpolicies/LinkUtils.ext
parent80ee9cd6af92a64c166d2e136306794ab889c45c (diff)
downloadorg.eclipse.gmf-tooling-f61df1f20284e8306e692a031ac735db97af19a0.tar.gz
org.eclipse.gmf-tooling-f61df1f20284e8306e692a031ac735db97af19a0.tar.xz
org.eclipse.gmf-tooling-f61df1f20284e8306e692a031ac735db97af19a0.zip
Correcting compilation errors.v20080716-1642
Diffstat (limited to 'plugins/org.eclipse.gmf.codegen/templates/xpt/diagram/editpolicies/LinkUtils.ext')
-rw-r--r--plugins/org.eclipse.gmf.codegen/templates/xpt/diagram/editpolicies/LinkUtils.ext2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/templates/xpt/diagram/editpolicies/LinkUtils.ext b/plugins/org.eclipse.gmf.codegen/templates/xpt/diagram/editpolicies/LinkUtils.ext
index cc554452b..42f8e36a2 100644
--- a/plugins/org.eclipse.gmf.codegen/templates/xpt/diagram/editpolicies/LinkUtils.ext
+++ b/plugins/org.eclipse.gmf.codegen/templates/xpt/diagram/editpolicies/LinkUtils.ext
@@ -46,7 +46,7 @@ private genmodel::GenClass getContainerClass(gmfgen::LinkModelFacet modelFacet)
private genmodel::GenClass getContainerClass(gmfgen::TypeLinkModelFacet modelFacet) :
// can't use getSourceType() here as it respects sourceMetaFeature, which is irrelevant for containment
- modelFacet.childMetaFeature != modelFacet.containmentMetaFeature ? modelFacet.childMetaFeature.genClass : modelFacet.containmentMetaFeature.genClass
+ modelFacet.childMetaFeature.genClass
;
private genmodel::GenClass getContainerClass(gmfgen::FeatureLinkModelFacet modelFacet) : modelFacet.getSourceType() ;

Back to the top