mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 06:51:44 +00:00
Made data source method optional on NSTableView.
Add marker objects for KVB. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25751 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
456a4cd97f
commit
68fc3bc403
3 changed files with 11 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-12-17 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSTableView.m (-setDataSource:): Make the data source
|
||||
method tableView:objectValueForTableColumn:row: optional.
|
||||
* Source/externs.m: Define some arbitray values for KVB markers.
|
||||
|
||||
2007-12-15 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSControl.m (-bind:...options:): Correct value binding.
|
||||
|
|
|
@ -2273,12 +2273,13 @@ static void computeNewSelection
|
|||
|
||||
if (anObject && [anObject respondsToSelector: sel_b] == NO)
|
||||
{
|
||||
/* This method isn't required.
|
||||
[NSException raise: NSInternalInconsistencyException
|
||||
format: @"Data Source doesn't respond to "
|
||||
@"tableView:objectValueForTableColumn:row:"];
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
_dataSource_editable = [anObject respondsToSelector: sel_c];
|
||||
|
||||
/* We do *not* retain the dataSource, it's like a delegate */
|
||||
|
|
|
@ -632,9 +632,9 @@ NSString *NSToolTipBinding = @"toolTip";
|
|||
NSString *NSValueBinding = @"value";
|
||||
|
||||
// FIXME: Need to defined!
|
||||
id NSMultipleValuesMarker = nil;
|
||||
id NSNoSelectionMarker = nil;
|
||||
id NSNotApplicableMarker = nil;
|
||||
id NSMultipleValuesMarker = @"NSMultipleValuesMarker";
|
||||
id NSNoSelectionMarker = @"NSNoSelectionMarker";
|
||||
id NSNotApplicableMarker = @"NSNotApplicableMarker";
|
||||
|
||||
|
||||
extern void __objc_gui_force_linking (void);
|
||||
|
|
Loading…
Reference in a new issue