From 17658250a60a9e4a6c99d78848d2e00cd82cbf85 Mon Sep 17 00:00:00 2001 From: Arnaud Dieumegard Date: Fri, 10 Dec 2021 11:40:54 +0100 Subject: [PATCH] #141 Fix CDO code generation customization Rely on the Capella Cdo Emf Generation for CDO code generation. Change-Id: I0000000000000000000000000000000000000000 Signed-off-by: Arnaud Dieumegard --- .../META-INF/MANIFEST.MF | 3 ++- .../cdo/ta/definition/CDOForCapellaTargetApplication.java | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/vpdsl/plugins/org.polarsys.capella.cdo.ta.definition/META-INF/MANIFEST.MF b/vpdsl/plugins/org.polarsys.capella.cdo.ta.definition/META-INF/MANIFEST.MF index 0a22a855..9edc2db8 100644 --- a/vpdsl/plugins/org.polarsys.capella.cdo.ta.definition/META-INF/MANIFEST.MF +++ b/vpdsl/plugins/org.polarsys.capella.cdo.ta.definition/META-INF/MANIFEST.MF @@ -10,7 +10,8 @@ Require-Bundle: org.eclipse.ui, org.polarsys.kitalpha.ad.ta, org.polarsys.kitalpha.ad.viewpoint.dsl.cs.text.common, org.polarsys.capella.ta, - org.eclipse.egf.portfolio.genchain.cdo + org.eclipse.egf.portfolio.genchain.cdo, + org.polarsys.capella.extension.genchain Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Bundle-ActivationPolicy: lazy Bundle-Vendor: %providerName diff --git a/vpdsl/plugins/org.polarsys.capella.cdo.ta.definition/src/org/polarsys/capella/cdo/ta/definition/CDOForCapellaTargetApplication.java b/vpdsl/plugins/org.polarsys.capella.cdo.ta.definition/src/org/polarsys/capella/cdo/ta/definition/CDOForCapellaTargetApplication.java index 414142be..1039e52a 100644 --- a/vpdsl/plugins/org.polarsys.capella.cdo.ta.definition/src/org/polarsys/capella/cdo/ta/definition/CDOForCapellaTargetApplication.java +++ b/vpdsl/plugins/org.polarsys.capella.cdo.ta.definition/src/org/polarsys/capella/cdo/ta/definition/CDOForCapellaTargetApplication.java @@ -13,8 +13,8 @@ import java.util.List; -import org.eclipse.egf.portfolio.genchain.cdo.CdoGenerationExtension; import org.eclipse.egf.portfolio.genchain.extension.ExtensionHelper; +import org.polarsys.capella.extension.genchain.CapellaCdoGenerationExtension; import org.polarsys.capella.ta.definition.CapellaTargetApplication; @@ -27,7 +27,7 @@ public class CDOForCapellaTargetApplication extends CapellaTargetApplication { @Override public List getGenerationExtensionHelpers() { List generationExtensionHelpers = super.getGenerationExtensionHelpers(); - generationExtensionHelpers.add(new CdoGenerationExtension()); + generationExtensionHelpers.add(new CapellaCdoGenerationExtension()); return generationExtensionHelpers; }