Methods


outlineView:acceptDrop:item:childIndex:
Default implementation for NSOutlineView dataSource method.

outlineView:acceptDrop:item:childIndex:

Default implementation for NSOutlineView dataSource method.
- ( BOOL ) outlineView:
        (NSOutlineView *) sender acceptDrop:
        (id ) info item:
        (id ) item childIndex:
        (int ) childIndex;

Default implementation for NSOutlineView dataSource method. This method is provided to make the new MOExtendedOutlineView datSource API -outlineView:readItemsFromPasteboard:item:childIndex: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.

Parameter Descriptions
sender
The sending MOExtendedOutlineView.
info
The dragging info object.
item
The parent item into which to insert the new items.
childIndex
The child index to insert the new items at within the given parent item. May be NSOutlineViewDropOnItemIndex if the drop is "onto" the item instead of between two items.
method result
YES if the operation is successful, NO if not.

(Last Updated 3/20/2005)