From 11e11b0138487b642ad13e09fabc907ad8e6c140 Mon Sep 17 00:00:00 2001 From: Don Roberts Date: Mon, 23 Sep 2024 14:44:42 -0500 Subject: [PATCH] Refactoring GtJob progress notifications --- .../GtSmaCCTransformationToolkit.class.st | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/GT4SmaCC-Rewrite-Engine-UI/GtSmaCCTransformationToolkit.class.st b/src/GT4SmaCC-Rewrite-Engine-UI/GtSmaCCTransformationToolkit.class.st index 38de572..f6bd2d1 100644 --- a/src/GT4SmaCC-Rewrite-Engine-UI/GtSmaCCTransformationToolkit.class.st +++ b/src/GT4SmaCC-Rewrite-Engine-UI/GtSmaCCTransformationToolkit.class.st @@ -397,9 +397,11 @@ GtSmaCCTransformationToolkit >> runOn: aCollection [ [ self model runOn: aCollection ] ensure: [ self userData removeKey: #transformationJob ifAbsent: [ ] ] ]) announcer: Announcer new. - notification := GtCompilationNotificationJob new. - notification job: job. - notification registerNotifications. + notification := GtNotificationJob new + summaryClass: GtCompilationNotificationSummary; + job: job; + registerNotifications; + yourself. ^ [ job run ] asAsyncPromise ]