Added method selectionIndexesForProposedSelection in CPOutlineView

This commit is contained in:
Alexandre Wilhelm committed 2013-10-17 15:54:40 -07:00
1 parent d6e40332c4
commit cf19aef382
1 file changed
+8
+8
View File
@@ -1940,6 +1940,14 @@ var _loadItemInfoForItem = function(/*CPOutlineView*/ anOutlineView, /*id*/ anIt
return [_outlineView menu] || [[_outlineView class] defaultMenu];
}
- (CPIndexSet)tableView:(CPTableView)aTableView selectionIndexesForProposedSelection:(CPIndexSet)anIndexSet
{
if ((_outlineView._implementedOutlineViewDelegateMethods & CPOutlineViewDelegate_outlineView_selectionIndexesForProposedSelection_))
return [_outlineView._outlineViewDelegate outlineView:self selectionIndexesForProposedSelection:anIndexSet];
return anIndexSet;
}
@end
@implementation CPDisclosureButton : CPButton