From 0f05b21a1f6ae5df9bd3b276df955f4de7a76264 Mon Sep 17 00:00:00 2001 From: Maxime Porhel Date: Wed, 24 Apr 2024 16:10:51 +0200 Subject: [PATCH] #2860 Re-enable Capella Explorer notification on migration cancelled Change-Id: I8154bed5896419bcc1055b954941a9c710aca437 Signed-off-by: Maxime Porhel --- .../capella/core/data/migration/MigrationRunnable.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/plugins/org.polarsys.capella.core.data.migration/src/org/polarsys/capella/core/data/migration/MigrationRunnable.java b/core/plugins/org.polarsys.capella.core.data.migration/src/org/polarsys/capella/core/data/migration/MigrationRunnable.java index 9784cfbceb..03addd32e2 100644 --- a/core/plugins/org.polarsys.capella.core.data.migration/src/org/polarsys/capella/core/data/migration/MigrationRunnable.java +++ b/core/plugins/org.polarsys.capella.core.data.migration/src/org/polarsys/capella/core/data/migration/MigrationRunnable.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2006, 2020 THALES GLOBAL SERVICES. + * Copyright (c) 2006, 2024 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 @@ -90,6 +90,7 @@ public IStatus run(MigrationContext context, boolean checkVersion) { IStatus result = preMigrationExecute(_file, context, checkVersion); if (!result.isOK()) { + LongRunningListenersRegistry.getInstance().operationAborted(getClass()); return result; }