From e8d2e1d82a5fd6eb2ec2ca4ca583a62530ddb830 Mon Sep 17 00:00:00 2001 From: Erwann Traisnel Date: Tue, 14 Mar 2023 14:20:05 +0100 Subject: [PATCH] #86 Fixed export in Team context Fixed metrics & overview export Change-Id: I2d2c1745ccc3ddec2b55f6b03e602214ea7f392a Signed-off-by: Erwann Traisnel --- .../capella/filtering/tools/dialogs/FilteringMetricsDialog.java | 2 +- .../filtering/tools/dialogs/FilteringOverviewDialog.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/org.polarsys.capella.filtering.tools/src/org/polarsys/capella/filtering/tools/dialogs/FilteringMetricsDialog.java b/plugins/org.polarsys.capella.filtering.tools/src/org/polarsys/capella/filtering/tools/dialogs/FilteringMetricsDialog.java index 4d34e760..00905ed1 100644 --- a/plugins/org.polarsys.capella.filtering.tools/src/org/polarsys/capella/filtering/tools/dialogs/FilteringMetricsDialog.java +++ b/plugins/org.polarsys.capella.filtering.tools/src/org/polarsys/capella/filtering/tools/dialogs/FilteringMetricsDialog.java @@ -209,7 +209,7 @@ protected AbstractRegExpViewer createViewer(Composite parent) { */ @Override protected List getExportableData() { - List result = super.getExportableData(EcoreUtil2.getProject(root).getName()); + List result = super.getExportableData(FilteringUtils.getEclipseProject(root).getName()); @SuppressWarnings("unchecked") List allTaggedElements = (List) ((TreeData) getData()).getValidElements(); diff --git a/plugins/org.polarsys.capella.filtering.tools/src/org/polarsys/capella/filtering/tools/dialogs/FilteringOverviewDialog.java b/plugins/org.polarsys.capella.filtering.tools/src/org/polarsys/capella/filtering/tools/dialogs/FilteringOverviewDialog.java index b0389e48..74453fe3 100644 --- a/plugins/org.polarsys.capella.filtering.tools/src/org/polarsys/capella/filtering/tools/dialogs/FilteringOverviewDialog.java +++ b/plugins/org.polarsys.capella.filtering.tools/src/org/polarsys/capella/filtering/tools/dialogs/FilteringOverviewDialog.java @@ -192,7 +192,7 @@ protected AbstractRegExpViewer createViewer(Composite parent) { */ @Override protected List getExportableData() { - List result = super.getExportableData(EcoreUtil2.getProject(root).getName()); + List result = super.getExportableData(FilteringUtils.getEclipseProject(root).getName()); @SuppressWarnings("unchecked") List allTaggedElements = (List) ((TreeData) getData()).getValidElements();