Skip to content

Commit

Permalink
eclipse-capella#141 Fix CDO code generation customization for CDO XML TA
Browse files Browse the repository at this point in the history
  • Loading branch information
arnauddieumegard committed Jan 3, 2022
1 parent 2053064 commit db1ddb9
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 @@ -15,7 +15,8 @@ Require-Bundle: org.eclipse.ui,
org.polarsys.kitalpha.ad.viewpoint.dsl.generation.core,
org.polarsys.kitalpha.ad.viewpoint.dsl.as.desc.model,
org.polarsys.kitalpha.ad.viewpoint.dsl.as.ui.model,
org.polarsys.capella.cdoxml.ta.genchain
org.polarsys.capella.cdoxml.ta.genchain,
org.polarsys.capella.extension.genchain
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Automatic-Module-Name: org.polarsys.capella.cdoxml.ta
Bundle-ActivationPolicy: lazy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@
package org.polarsys.capella.cdoxml.ta;

import org.polarsys.capella.cdoxml.ta.genchain.CapellaConnectorExtension;
import org.polarsys.capella.extension.genchain.CapellaCdoGenerationExtension;
import org.polarsys.capella.ta.definition.CapellaTargetApplication;

import java.util.List;
import org.eclipse.egf.portfolio.genchain.extension.ExtensionHelper;
import org.eclipse.egf.portfolio.genchain.cdo.CdoGenerationExtension;

public class CapellaCDOandXMLTargetApplication extends CapellaTargetApplication {

@Override
public List<ExtensionHelper> getGenerationExtensionHelpers() {
List<ExtensionHelper> generationExtensionHelpers = super.getGenerationExtensionHelpers();
generationExtensionHelpers.add(new CdoGenerationExtension());
generationExtensionHelpers.add(new CapellaCdoGenerationExtension());
generationExtensionHelpers.add(new CapellaConnectorExtension());
return generationExtensionHelpers;
}
Expand Down

0 comments on commit db1ddb9

Please sign in to comment.