Skip to content

Commit

Permalink
Merge pull request magritte-metamodel#333 from seandenigris/enh_prope…
Browse files Browse the repository at this point in the history
…rty-uuid-setter

[Enh]: UUID Property Setter
  • Loading branch information
seandenigris authored Aug 12, 2023
2 parents 96015b2 + eea847c commit dd7f654
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 dd7f654

Please sign in to comment.