diff options
author | ashatalin | 2008-07-16 14:15:30 +0000 |
---|---|---|
committer | ashatalin | 2008-07-16 14:15:30 +0000 |
commit | f61df1f20284e8306e692a031ac735db97af19a0 (patch) | |
tree | c118024602a31cd1ec7c24e7e4b6d25be1904a7d | |
parent | 80ee9cd6af92a64c166d2e136306794ab889c45c (diff) | |
download | org.eclipse.gmf-tooling-f61df1f20284e8306e692a031ac735db97af19a0.tar.gz org.eclipse.gmf-tooling-f61df1f20284e8306e692a031ac735db97af19a0.tar.xz org.eclipse.gmf-tooling-f61df1f20284e8306e692a031ac735db97af19a0.zip |
Correcting compilation errors.v20080716-1642
-rw-r--r-- | plugins/org.eclipse.gmf.codegen/templates/xpt/diagram/editpolicies/LinkUtils.ext | 2 | ||||
-rw-r--r-- | plugins/org.eclipse.gmf.codegen/templates/xpt/diagram/updater/DiagramUpdater.xpt | 2 |
2 files changed, 2 insertions, 2 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() ; diff --git a/plugins/org.eclipse.gmf.codegen/templates/xpt/diagram/updater/DiagramUpdater.xpt b/plugins/org.eclipse.gmf.codegen/templates/xpt/diagram/updater/DiagramUpdater.xpt index 4dc49a7a8..66270bd21 100644 --- a/plugins/org.eclipse.gmf.codegen/templates/xpt/diagram/updater/DiagramUpdater.xpt +++ b/plugins/org.eclipse.gmf.codegen/templates/xpt/diagram/updater/DiagramUpdater.xpt @@ -283,7 +283,7 @@ public static java.util.List «EXPAND linkGetterName(methodNameSuffix)»(org.eclip «DEFINE getContainedLinksByTypeMethod(gmfgen::GenLink genLink) FOR gmfgen::TypeLinkModelFacet-» «EXPAND xpt::Common::generatedMemberComment» -private static java.util.Collection «EXPAND getConnectedLinksByTypeMethodName(getContainedLinksMethodNameSuffix()) FOR genLink»(«EXPAND MetaModel::QualifiedClassName FOR getSourceType()» container) { +private static java.util.Collection «EXPAND getConnectedLinksByTypeMethodName(getContainedLinksMethodNameSuffix()) FOR genLink»(«EXPAND MetaModel::QualifiedClassName FOR childMetaFeature.genClass» container) { «EXPAND getContainedLinksByTypeMethodBody(genLink, false)-» } «ENDDEFINE» |