diff options
author | stuconnolly <stuart02@gmail.com> | 2009-08-21 16:27:34 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2009-08-21 16:27:34 +0000 |
commit | 24dc4d4ce7ff455be899c62e55c27e6e0ff03d4b (patch) | |
tree | 7c195e534abc0340ae3203f9c4c1c6f93863a31b /Source/TableContent.h | |
parent | abbd5a52c00538ef93f4222a3e2489ee5e4c23aa (diff) | |
download | sequelpro-24dc4d4ce7ff455be899c62e55c27e6e0ff03d4b.tar.gz sequelpro-24dc4d4ce7ff455be899c62e55c27e6e0ff03d4b.tar.bz2 sequelpro-24dc4d4ce7ff455be899c62e55c27e6e0ff03d4b.zip |
Add support for the BETWEEN operator when filtering a table's content. Implements issue #361. Note the sizing of the new controls still needs fine tuned.
Diffstat (limited to 'Source/TableContent.h')
-rw-r--r-- | Source/TableContent.h | 31 |
1 files changed, 6 insertions, 25 deletions
diff --git a/Source/TableContent.h b/Source/TableContent.h index e389c8df..03aaeafa 100644 --- a/Source/TableContent.h +++ b/Source/TableContent.h @@ -52,6 +52,9 @@ IBOutlet id limitRowsField; IBOutlet id limitRowsButton; IBOutlet id limitRowsStepper; + IBOutlet id firstBetweenField; + IBOutlet id secondBetweenField; + IBOutlet id betweenTextField; MCPConnection *mySQLConnection; @@ -85,17 +88,16 @@ - (NSString *) usedQuery; - (void) setUsedQuery:(NSString *)query; -//edit methods +// Edit methods - (IBAction)addRow:(id)sender; - (IBAction)copyRow:(id)sender; - (IBAction)removeRow:(id)sender; - -//getter methods +// Getter methods - (NSArray *)currentResult; - (NSArray *)currentDataResult; -//additional methods +// Additional methods - (void)setConnection:(MCPConnection *)theConnection; - (void)clickLinkArrow:(SPTextAndLinkCell *)theArrowCell; - (IBAction)setCompareTypes:(id)sender; @@ -125,25 +127,4 @@ - (void) storeCurrentDetailsForRestoration; - (void) clearDetailsToRestore; -//tableView datasource methods -- (int)numberOfRowsInTableView:(NSTableView *)aTableView; -- (id)tableView:(CMCopyTable *)aTableView -objectValueForTableColumn:(NSTableColumn *)aTableColumn - row:(int)rowIndex; -- (void)tableView:(NSTableView *)aTableView - setObjectValue:(id)anObject - forTableColumn:(NSTableColumn *)aTableColumn - row:(int)rowIndex; - -//tableView delegate methods -- (void)tableView:(NSTableView*)tableView didClickTableColumn:(NSTableColumn *)tableColumn; -- (void)tableViewSelectionDidChange:(NSNotification *)aNotification; -- (void)tableViewColumnDidResize:(NSNotification *)aNotification; -- (BOOL)tableView:(NSTableView *)aTableView shouldEditTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex; -- (BOOL)tableView:(NSTableView *)tableView writeRows:(NSArray*)rows toPasteboard:(NSPasteboard*)pboard; -- (BOOL)control:(NSControl *)control textView:(NSTextView *)textView doCommandBySelector:(SEL)command; - -//textView delegate methods -// - (BOOL)textView:(NSTextView *)aTextView doCommandBySelector:(SEL)aSelector; - @end |