Skip to content

Commit

Permalink
#196 Add generic extension point for Capella viewpoints contributions (
Browse files Browse the repository at this point in the history
…#195)

Change-Id: I91015636762f9d6c7d1fab7594015a9fc6090b82
Signed-off-by: Cazoni Iulius-Alexandru <[email protected]>
Resolves #196
  • Loading branch information
Iulius3456 authored Aug 27, 2021
1 parent dfeae4a commit c20bd67
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Generated with EGF 1.6.1.201906060805
//Generated with EGF 1.6.2.202001031546
package org.polarsys.capella.docgen.foundations;

import java.util.*;
Expand Down Expand Up @@ -178,7 +178,10 @@ protected void method_body(final StringBuffer stringBuffer, final PatternContext
org.polarsys.kitalpha.doc.gen.business.core.extension.intf.DocGenExtensionFactory.newDocGenExtensionEngine()
.apply("CAPELLA_REQUIREMENTS_EXTENSION", ctx, getParameters(), stringBuffer);

stringBuffer.append(TEXT_8);
org.polarsys.kitalpha.doc.gen.business.core.extension.intf.DocGenExtensionFactory.newDocGenExtensionEngine()
.apply("CAPELLA_ELEMENT_EXTENSION", ctx, getParameters(), stringBuffer);

stringBuffer.append(TEXT_7);
// requirements

EList<Requirement> appliedReq = element.getAppliedRequirements();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ String logo = ImageHelper.getTypePng(element, projectName, outputFolder);
<%
org.polarsys.kitalpha.doc.gen.business.core.extension.intf.DocGenExtensionFactory.newDocGenExtensionEngine().apply("CAPELLA_REQUIREMENTS_EXTENSION", ctx, getParameters(), stringBuffer);
%>



<%
org.polarsys.kitalpha.doc.gen.business.core.extension.intf.DocGenExtensionFactory.newDocGenExtensionEngine().apply("CAPELLA_ELEMENT_EXTENSION", ctx, getParameters(), stringBuffer);
%>

<% // requirements%>
<%
Expand Down

0 comments on commit c20bd67

Please sign in to comment.