Skip to content

Commit

Permalink
[Enh]: UUID Property Setter
Browse files Browse the repository at this point in the history
Trying to keep the API small, but needed this in real world use
  • Loading branch information
seandenigris committed Aug 12, 2023
1 parent 96015b2 commit eea847c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions source/Magritte-Model/MATPropertyOwner.trait.st
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,14 @@ MATPropertyOwner >> uuid [
"It is a stretch to place this in MATPropertyOwner, but it's only two methods, so in the interest of simplicity we'll put it here until someone complains. We had extracted this to ObjectiveLepiter, the only user. However, due to limitations in Pharo packaging, namely lack of extension traits, users become unusable unless in GT, where OL works. For now, it seems prudent to live with the two methods in question to make life easier"
]

{ #category : #uuid }
MATPropertyOwner >> uuid: aUUID [

self
propertyAt: #uuid
put: aUUID
]

{ #category : #subscriptions }
MATPropertyOwner >> whenPropertyChangedSend: aSelector to: aReceiver [
| anAnnouncer |
Expand Down

0 comments on commit eea847c

Please sign in to comment.