Skip to content

Commit

Permalink
#141 Fix CDO code generation customization
Browse files Browse the repository at this point in the history
Rely on the Capella Cdo Emf Generation for CDO code generation.

Change-Id: I0000000000000000000000000000000000000000
Signed-off-by: Arnaud Dieumegard <[email protected]>
  • Loading branch information
arnauddieumegard committed Dec 22, 2021
1 parent a15d1d2 commit 7532a5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;


Expand All @@ -27,7 +27,7 @@ public class CDOForCapellaTargetApplication extends CapellaTargetApplication {
@Override
public List<ExtensionHelper> getGenerationExtensionHelpers() {
List<ExtensionHelper> generationExtensionHelpers = super.getGenerationExtensionHelpers();
generationExtensionHelpers.add(new CdoGenerationExtension());
generationExtensionHelpers.add(new CapellaCdoGenerationExtension());
return generationExtensionHelpers;
}

Expand Down

0 comments on commit 7532a5b

Please sign in to comment.