//
//  ECProjectInfoPanelController.m
//  Etokicho
//
//  Created by 二鏡 on 11/12/04.
//  Copyright (c) 2011年 二鏡庵. All rights reserved.
//

#import "ECProjectInfoPanelController.h"
#import "MainController.h"

static id _si = nil;
@implementation ECProjectInfoPanelController
+ (id)sharedPanel
{
    if(_si == nil)
    {
        _si = [[self alloc] initWithWindowNibName: @"ProjectInfo"];
        [_si window];
    }
    return _si;
}

- (NSUndoManager *)windowWillReturnUndoManager:(NSWindow *)window
{
    return [[[NSApp delegate] timelineManager] undoManager];
}

- (void)awakeFromNib
{
    [self setWindowFrameAutosaveName: @"ProjectStaticsFrame"];
}
@end
