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 authored and pdulth committed Dec 15, 2021
1 parent 8eb6da0 commit 2053064
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2016, 2020 Thales Global Services.
* Copyright (c) 2016, 2021 Thales Global Services.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
Expand All @@ -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 2053064

Please sign in to comment.