Files
textmate/Frameworks/Preferences/src/PreferencesPane.h
Allan Odgaard 9425bbeadf Hookup Preferences window to tmProperties
Presently the new file type is not setup to use tmProperties as the way this is specified (in tmProperties) needs special-casing. Will likely change that.
2012-08-25 02:06:04 +02:00

20 lines
728 B
Objective-C

#import <MASPreferences/MASPreferencesViewController.h>
@interface PreferencesPane : NSViewController <MASPreferencesViewController>
{
NSString* label;
NSImage* image;
NSDictionary* defaultsProperties; // property → defaults key
NSDictionary* tmProperties; // property → tmProperties key
}
@property (nonatomic, readonly) NSString* identifier;
@property (nonatomic, readonly) NSString* toolbarItemLabel;
@property (nonatomic, readonly) NSImage* toolbarItemImage;
@property (nonatomic, retain) NSDictionary* defaultsProperties;
@property (nonatomic, retain) NSDictionary* tmProperties;
- (id)initWithNibName:(NSString*)aNibName label:(NSString*)aLabel image:(NSImage*)anImage;
- (IBAction)help:(id)sender;
@end