forked from bububa/MongoHub-Mac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MongoHub_AppDelegate.h
53 lines (45 loc) · 1.99 KB
/
MongoHub_AppDelegate.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//
// MongoHub_AppDelegate.h
// MongoHub
//
// Created by Syd on 10-4-24.
// Copyright MusicPeace.ORG 2010 . All rights reserved.
//
#import <Cocoa/Cocoa.h>
@class ConnectionsCollectionView;
@class ConnectionsArrayController;
@class Connection;
@class AddConnectionController;
@class EditConnectionController;
@interface MongoHub_AppDelegate : NSObject <NSApplicationDelegate, NSCollectionViewDelegate>
{
NSWindow *window;
NSPersistentStoreCoordinator *persistentStoreCoordinator;
NSManagedObjectModel *managedObjectModel;
NSManagedObjectContext *managedObjectContext;
IBOutlet ConnectionsCollectionView *connectionsCollectionView;
IBOutlet ConnectionsArrayController *connectionsArrayController;
AddConnectionController *addConnectionController;
EditConnectionController *editConnectionController;
IBOutlet NSTextField *bundleVersion;
}
@property (nonatomic, retain) IBOutlet NSWindow *window;
@property (nonatomic, retain, readonly) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property (nonatomic, retain, readonly) NSManagedObjectModel *managedObjectModel;
@property (nonatomic, retain, readonly) NSManagedObjectContext *managedObjectContext;
@property (nonatomic, retain) ConnectionsCollectionView *connectionsCollectionView;
@property (nonatomic, retain) ConnectionsArrayController *connectionsArrayController;
@property (nonatomic, retain) AddConnectionController *addConnectionController;
@property (nonatomic, retain) EditConnectionController *editConnectionController;
@property (nonatomic, retain) NSTextField *bundleVersion;
- (IBAction)saveAction:sender;
- (IBAction)showAddConnectionPanel:(id)sender;
- (IBAction)addConection:(id)sender;
- (IBAction)showEditConnectionPanel:(id)sender;
- (IBAction)editConnection:(id)sender;
- (IBAction)deleteConnection:(id)sender;
- (IBAction)resizeConnectionItemView:(id)sender;
- (IBAction)showConnectionWindow:(id)sender;
- (BOOL)isOpenedConnection:(Connection *)aConnection;
- (void)doubleClick:(id)sender;
@end