//
//  JotPanelController.h
//  Jot
//
//  Created by Todd Ditchendorf on 11/9/10.
//  Copyright 2010 Todd Ditchendorf. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import <IDEKit/IDEUserDefaults.h>

@class IDEPaletteViewController;

@interface IDEPaletteWindowController : NSWindowController {
    id paletteViewController;
}

+ (id)instance;

+ (id)newPaletteViewController;

+ (IDEViewPlacement)viewPlacement;
+ (BOOL)isPanelVisible;
- (void)windowDidClose;

// subclass
+ (NSString *)localizedPanelTitle;
+ (NSRect)preferredPanelFrameInScreen:(NSScreen *)screen;
+ (NSString *)userDefaultsPanelVisibleKey;
- (void)registerForNotifications;

@property (nonatomic, retain) IBOutlet id paletteViewController;
@end
