@interface TreeView:NSScrollView{
@public
NSOutlineView *outline;
- NSTableColumn *column,*colin;
+ NSTableColumn *column;//,*colin;
NSBrowserCell *cell;
NodeItem *rootNode;
NSDictionary *textstyle;
[column setDataCell:cell];
[self setDocumentView:outline];
[outline sizeLastColumnToFit];
+
return self;
}
-(void)dealloc{
return [item canExpand];
}
-(id)outlineView:(NSOutlineView*)outlineView objectValueForTableColumn:(NSTableColumn*)tableColumn byItem:(id)item{
- if (tableColumn==colin) return @"";
+// if (tableColumn==colin) return @"";
if( !item ) item=rootNode;
return [item value];
}