forked from bububa/MongoHub-Mac
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed a json parser related bug; add json object editor.
- Loading branch information
Showing
29 changed files
with
6,157 additions
and
4,295 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// | ||
// JsonWindowController.h | ||
// MongoHub | ||
// | ||
// Created by Syd on 10-12-27. | ||
// Copyright 2010 ThePeppersStudio.COM. All rights reserved. | ||
// | ||
|
||
#import <Cocoa/Cocoa.h> | ||
#import "UKSyntaxColoredTextViewController.h" | ||
@class DatabasesArrayController; | ||
@class Connection; | ||
@class MongoDB; | ||
|
||
#ifndef UKSCTD_DEFAULT_TEXTENCODING | ||
#define UKSCTD_DEFAULT_TEXTENCODING NSUTF8StringEncoding | ||
#endif | ||
|
||
@interface JsonWindowController : NSWindowController <UKSyntaxColoredTextViewDelegate>{ | ||
NSManagedObjectContext *managedObjectContext; | ||
DatabasesArrayController *databaseArrayController; | ||
Connection *conn; | ||
MongoDB *mongoDB; | ||
NSString *dbname; | ||
NSString *collectionname; | ||
NSDictionary *jsonDict; | ||
IBOutlet NSTextView *myTextView; | ||
IBOutlet NSProgressIndicator *progress; | ||
IBOutlet NSTextField *status; | ||
UKSyntaxColoredTextViewController *syntaxColoringController; | ||
} | ||
|
||
@property (nonatomic, retain) NSManagedObjectContext *managedObjectContext; | ||
@property (nonatomic, retain) DatabasesArrayController *databasesArrayController; | ||
@property (nonatomic, retain) MongoDB *mongoDB; | ||
@property (nonatomic, retain) NSString *dbname; | ||
@property (nonatomic, retain) NSString *collectionname; | ||
@property (nonatomic, retain) Connection *conn; | ||
@property (nonatomic, retain) NSDictionary *jsonDict; | ||
@property (nonatomic, retain) NSTextView *myTextView; | ||
|
||
-(IBAction) save:(id)sender; | ||
-(void) doSave; | ||
-(IBAction) recolorCompleteFile: (id)sender; | ||
|
||
@end |
Oops, something went wrong.