Finished to implement the NSTable/OutlineView sort descriptor support.

More changes are needed to get proper sorting support (e.g. visual feedback).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29293 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
qmathe 2010-01-16 14:45:13 +00:00
parent fd57feed5b
commit 239eec74dc
6 changed files with 177 additions and 21 deletions

View file

@ -1663,6 +1663,24 @@ Also returns the child index relative to this parent. */
return YES;
}
- (void) _didChangeSortDescriptors: (NSArray *)oldSortDescriptors
{
if ([_delegate
respondsToSelector: @selector(outlineView:sortDescriptorsDidChange:)])
{
[_delegate outlineView: self sortDescriptorsDidChange: oldSortDescriptors];
}
}
- (void) _didClickTableColumn: (NSTableColumn *)tc
{
if ([_delegate
respondsToSelector: @selector(outlineView:didClickTableColumn:)])
{
[_delegate outlineView: self didClickTableColumn: tc];
}
}
- (BOOL) _shouldEditTableColumn: (NSTableColumn *)tableColumn
row: (int) rowIndex
{