Skip to content

Commit

Permalink
Merge pull request #1679 from Rinzwind/morphictreetabledatasource-tra…
Browse files Browse the repository at this point in the history
…nsferfrom

Make #transferFor:from: on SpMorphicTreeTableDataSource delegate to the adapter
  • Loading branch information
Ducasse authored Jan 13, 2025
2 parents 516be66 + 2916628 commit acbaac3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Spec2-Adapters-Morphic/SpMorphicTreeTableDataSource.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -223,3 +223,14 @@ SpMorphicTreeTableDataSource >> toString: anItem [

^ super toString: anItem data
]

{ #category : 'drag and drop' }
SpMorphicTreeTableDataSource >> transferFor: passenger from: aMorph [

^ (self model adapter
transferFor: passenger
from: self table)
build
dragHand: aMorph currentHand;
yourself
]

0 comments on commit acbaac3

Please sign in to comment.