Skip to content

Commit

Permalink
Added few announcement-related methods
Browse files Browse the repository at this point in the history
  • Loading branch information
JanBliznicenko committed Oct 19, 2024
1 parent 9655517 commit 5fc3149
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions repository/OP-UML-Metamodel/OPUMLMetaElement.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,12 @@ OPUMLMetaElement >> unapplyStereotype: aStereotype [
self perform: (attribute opposite name , ':') asSymbol with: nil
]

{ #category : 'announcer' }
OPUMLMetaElement >> unsubscribe: aReceiver [

^ self announcer unsubscribe: aReceiver
]

{ #category : 'accessing' }
OPUMLMetaElement >> uuid [
^ uuid ifNil: [ uuid := UUID new ]
Expand All @@ -353,3 +359,12 @@ OPUMLMetaElement >> uuid [
OPUMLMetaElement >> uuid: aUUID [
uuid := aUUID
]

{ #category : 'announcer' }
OPUMLMetaElement >> when: anAnnouncementClass send: aSelector to: aReceiver [

^ self announcer
when: anAnnouncementClass
send: aSelector
to: aReceiver
]

0 comments on commit 5fc3149

Please sign in to comment.