Skip to content

Commit

Permalink
Refactoring GtJob progress notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
refactoringdr committed Sep 23, 2024
1 parent 6e72c14 commit 25b251f
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/GToolkit-Notifications/GtNotificationJob.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ Class {
#superclass : #GtNotificationEvent,
#instVars : [
'job',
'state'
'state',
'summaryClass'
],
#category : #'GToolkit-Notifications-Job'
}
Expand Down Expand Up @@ -83,6 +84,16 @@ GtNotificationJob >> subscribeToJob [
to: self.
]

{ #category : #accessing }
GtNotificationJob >> summaryClass [
^ summaryClass
]

{ #category : #accessing }
GtNotificationJob >> summaryClass: anObject [
summaryClass := anObject
]

{ #category : #'private - subscriptions' }
GtNotificationJob >> unsubscribeFromJob [
self job announcer unsubscribe: self.
Expand Down

0 comments on commit 25b251f

Please sign in to comment.