Skip to content

Commit

Permalink
Merge pull request #628 from bouraqadi/15545-pharoIssue-method-versio…
Browse files Browse the repository at this point in the history
…ns-shows-authors-time-stamp

Pharo issue #15545: Restore author and time stamp to method versions
  • Loading branch information
MarcusDenker authored Nov 25, 2023
2 parents 74ab355 + e356917 commit 6207419
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/NewTools-MethodBrowsers/MessageListPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ MessageListPresenter class >> defaultLayout [
yourself
]

{ #category : 'private' }
MessageListPresenter >> authorOf: anItem [
^ anItem author
]

{ #category : 'actions' }
MessageListPresenter >> browseClassRefs [

Expand Down Expand Up @@ -183,6 +188,8 @@ MessageListPresenter >> initializePresenters [
addColumn: (SpStringTableColumn title: 'Location' evaluated: [ :item | self locationOf: item ]);
addColumn: (SpStringTableColumn title: 'Selector' evaluated: [ :item | self selectorOf: item ]);
addColumn: (SpStringTableColumn title: 'Package' evaluated: [ :item | self packageOf: item ]);
addColumn: (SpStringTableColumn title: 'Time' evaluated: [ :item | self timeStampOf: item ]);
addColumn: (SpStringTableColumn title: 'Author' evaluated: [ :item | self authorOf: item ]);
beResizable.

listPresenter outputActivationPort transmitDo: [ :aMethod | self doBrowseMethod ].
Expand Down Expand Up @@ -376,6 +383,11 @@ MessageListPresenter >> sortingBlock: aBlock [
listPresenter sortingBlock: aBlock
]

{ #category : 'private' }
MessageListPresenter >> timeStampOf: anItem [
^ anItem timeStamp
]

{ #category : 'accessing' }
MessageListPresenter >> topologicSort [
^ topologySort
Expand Down

0 comments on commit 6207419

Please sign in to comment.