MOKit provides default implementation for one NSTableView dataSource method.
MOKit provides default implementation for one NSTableView dataSource method.
tableView:acceptDrop:row:dropOperation: |
- ( BOOL ) tableView: (NSTableView *) sender acceptDrop: (id ) info row: (int ) row dropOperation: (NSTableViewDropOperation ) op;
Default implementation for NSTableView dataSource method. This method is provided to make the new MOExtendedTableView datSource API -tableView:readRowsFromPasteboard:row:dropOperation:pasteboardSourceType: into the funnel for all pasteboard reading. The implementation of this method simply checks whether the dataSource implements the new method, and if it does, it sends it with [info draggingPasteboard] as the pasteboard. The pasteboardSourceType is either MOPasteboardSourceTypeSelfDrop or MOPasteboardSourceTypeDrop depending on whether [info draggingSource] is the sender.
- sender
- The sending MOExtendedTableView.
- info
- The dragging info object.
- row
- The row index of where to insert the new rows.
- op
- The drop operation.
(Last Updated 3/20/2005)