forked from pmougin/F-Script
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathFSObjectBrowserCell.h
28 lines (21 loc) · 967 Bytes
/
FSObjectBrowserCell.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// FSObjectBrowserCell.h Copyright (c) 2001-2009 Philippe Mougin.
// This software is open source. See the license.
#import <AppKit/AppKit.h>
enum FSObjectBrowserCellType {FSOBOBJECT, FSOBCLASS, FSOBMETHOD, FSOBUNKNOWN};
// The BBCLASS type is used to store a class lazily (only the name of the class is stored) in order to not initialize it if not needed.
// The actual initialization will take place when the class object is needed, in the -representedObject method.
@interface FSObjectBrowserCell : NSBrowserCell
{
enum FSObjectBrowserCellType objectBrowserCellType;
NSString *classLabel;
NSString *label;
}
+ (NSImage *)branchImage;
- (enum FSObjectBrowserCellType) objectBrowserCellType;
- (NSString *)classLabel;
- (NSString *)label;
- (id)representedObject;
- (void) setObjectBrowserCellType:(enum FSObjectBrowserCellType)theObjectBrowserCellType;
- (void) setClassLabel:(NSString *)theClassLabel;
- (void) setLabel:(NSString *)theLabel;
@end