forked from pmougin/F-Script
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathFSManagedObjectContextInspector.h
44 lines (30 loc) · 1.32 KB
/
FSManagedObjectContextInspector.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
/* FSManagedObjectContextInspector.h Copyright (c) 2005-2009 Philippe Mougin. */
/* This software is open source. See the license. */
#import <Cocoa/Cocoa.h>
#import "FSInterpreter.h"
#import "FSCollectionInspectorView.h"
@class NSManagedObjectContext;
@interface FSManagedObjectContextInspector : NSObject
{
NSManagedObjectContext *model;
FSInterpreter *interpreter;
NSEntityDescription *lastFetchedEntity;
NSMutableArray *fetchedObjects;
IBOutlet NSTabView *tabView;
IBOutlet FSCollectionInspectorView *collectionInspectorView;
IBOutlet NSTextView *messageTextView;
IBOutlet NSTextView *predicateTextView;
IBOutlet NSPopUpButton *entityList;
IBOutlet NSButton *fetchAutomaticallyButton;
IBOutlet NSObjectController *controller;
}
+ (FSManagedObjectContextInspector *)managedObjectContextInspectorWithmanagedObjectContext:(id)theContext interpreter:(FSInterpreter *)theInterpreter;
- (IBAction)changeEntity:(id)sender;
- (IBAction)changeFetchAutomatically:(id)sender;
- (void)executeRequest;
- (IBAction)executeRequest:(id)sender;
- (BOOL)fetchAutomatically;
- (FSManagedObjectContextInspector *)initWithmanagedObjectContext:(id)theContext interpreter:(FSInterpreter *)theInterpreter;
- (IBAction)newInspector:(id)sender;
- (void) setLastFetchedEntity:(NSEntityDescription *)entity;
@end