1 // 2 // SubviewTableViewCell.h 3 // SubviewTableViewRuleEditor 4 // 5 // Created by Joar Wingfors on Sat Feb 15 2003. 6 // Copyright (c) 2003 joar.com. All rights reserved. 7 // 8 9 #import <AppKit/AppKit.h> 10 11 /***************************************************************************** 12 13 SubviewTableViewCell 14 15 Overview: 16 17 This is a very simple cell subclass used as the table data cell in the column 18 where the custom view will be used. It is responsible for ensuring that the 19 custom view is inserted into the table view, and of proper size and position. 20 21 *****************************************************************************/ 22 23 @interface SubviewTableViewCell : NSCell <NSCopying> 24 { 25 NSView *subview; 26 } 27 28 // The view is not retained by the cell! 29 - (void) addSubview:(NSView *) view; 30 - (NSView *)view; 31 @end 32 33