From c20bd676e773f9a929850645d8b88284893cd63c Mon Sep 17 00:00:00 2001 From: Iulius3456 Date: Fri, 27 Aug 2021 13:48:51 +0300 Subject: [PATCH] #196 Add generic extension point for Capella viewpoints contributions (#195) Change-Id: I91015636762f9d6c7d1fab7594015a9fc6090b82 Signed-off-by: Cazoni Iulius-Alexandru Resolves #196 --- .../docgen/foundations/CapellaElementContentDocGen.java | 7 +++++-- .../method._2twVZau9EeCWrf9pgx3zjA.pt | 6 +++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/docgenhtml/plugins/org.polarsys.capella.docgen/generated/org/polarsys/capella/docgen/foundations/CapellaElementContentDocGen.java b/docgenhtml/plugins/org.polarsys.capella.docgen/generated/org/polarsys/capella/docgen/foundations/CapellaElementContentDocGen.java index bc31b464..18e192c8 100644 --- a/docgenhtml/plugins/org.polarsys.capella.docgen/generated/org/polarsys/capella/docgen/foundations/CapellaElementContentDocGen.java +++ b/docgenhtml/plugins/org.polarsys.capella.docgen/generated/org/polarsys/capella/docgen/foundations/CapellaElementContentDocGen.java @@ -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.*; @@ -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 appliedReq = element.getAppliedRequirements(); diff --git a/docgenhtml/plugins/org.polarsys.capella.docgen/templates/pattern._2twVYKu9EeCWrf9pgx3zjA/method._2twVZau9EeCWrf9pgx3zjA.pt b/docgenhtml/plugins/org.polarsys.capella.docgen/templates/pattern._2twVYKu9EeCWrf9pgx3zjA/method._2twVZau9EeCWrf9pgx3zjA.pt index 41146bd2..6a4b5812 100644 --- a/docgenhtml/plugins/org.polarsys.capella.docgen/templates/pattern._2twVYKu9EeCWrf9pgx3zjA/method._2twVZau9EeCWrf9pgx3zjA.pt +++ b/docgenhtml/plugins/org.polarsys.capella.docgen/templates/pattern._2twVYKu9EeCWrf9pgx3zjA/method._2twVZau9EeCWrf9pgx3zjA.pt @@ -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%> <%