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

#import "NSWindowController+Interaction.h"

@implementation NSWindowController (Interaction)
- (void)orderToggle
{
    id window = [self window];
    if([window isVisible] && [window isKeyWindow] == YES)
        [window orderOut: self];
    else
        [window makeKeyAndOrderFront: self];
 
}
@end
