diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-08-24 14:26:00 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-08-24 14:26:00 +0000 |
commit | d90aac6dfab328485bad6ec450388d90684a0ee6 (patch) | |
tree | d09c5bbe1cb309018a3298e805eb79aec3e1c053 /Source/SPCustomQuery.h | |
parent | 015321ca8747bbd2ee6f8a153e779835f75f9efe (diff) | |
download | sequelpro-d90aac6dfab328485bad6ec450388d90684a0ee6.tar.gz sequelpro-d90aac6dfab328485bad6ec450388d90684a0ee6.tar.bz2 sequelpro-d90aac6dfab328485bad6ec450388d90684a0ee6.zip |
• outsourced control:textView:doCommandBySelector: stuff to SPCopyTable since we need that for Content and Custom Query table; only class specific stuff like ESC trapping will handled in the actual class
• enabled in cell editing for Custom Query tables
- also added spreadsheet button to Custom Query status bar
• fixed ESC trapping: F5 can be used for completion
• simplified [SPCopyTable keyDown:] for trapping ENTER/RETURN key
• some code cosmetics
Diffstat (limited to 'Source/SPCustomQuery.h')
-rw-r--r-- | Source/SPCustomQuery.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/SPCustomQuery.h b/Source/SPCustomQuery.h index e2333c2d..e9c1df6b 100644 --- a/Source/SPCustomQuery.h +++ b/Source/SPCustomQuery.h @@ -49,7 +49,7 @@ @class SPCopyTable, SPQueryFavoriteManager, SPDataStorage, BWSplitView; -@interface SPCustomQuery : NSObject +@interface SPCustomQuery : NSObject { IBOutlet id tableDocumentInstance; IBOutlet id tablesListInstance; @@ -74,7 +74,7 @@ IBOutlet NSMenuItem *saveHistoryMenuItem; IBOutlet NSMenuItem *copyHistoryMenuItem; IBOutlet NSPopUpButton *encodingPopUp; - + IBOutlet SPTextView *textView; IBOutlet SPCopyTable *customQueryView; IBOutlet NSScrollView *customQueryScrollView; @@ -107,7 +107,7 @@ IBOutlet NSSearchFieldCell *helpSearchFieldCell; IBOutlet NSSegmentedControl *helpNavigator; IBOutlet NSSegmentedControl *helpTargetSelector; - + IBOutlet NSButton *queryInfoButton; IBOutlet BWSplitView *queryInfoPaneSplitView; @@ -236,6 +236,7 @@ - (void)commentOutCurrentQueryTakingSelection:(BOOL)takeSelection; - (NSString *)usedQuery; - (NSString *)argumentForRow:(NSUInteger)rowIndex ofTable:(NSString *)tableForColumn andDatabase:(NSString *)database; +- (NSInteger)fieldEditStatusForRow:(NSInteger)rowIndex andColumn:(NSInteger)columnIndex; - (NSUInteger)numberOfQueries; - (NSString *)buildHistoryString; |