aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TablesList.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-06-15 18:45:58 +0000
committerstuconnolly <stuart02@gmail.com>2009-06-15 18:45:58 +0000
commit37cae99ed1ace10a7d106255efdc104d1af760e9 (patch)
tree6071c9c1756819a0f4b68b79de108a4a972b5e11 /Source/TablesList.h
parent70d15ff4ecdfd3c6996b3b8b2259674f9e9c9345 (diff)
downloadsequelpro-37cae99ed1ace10a7d106255efdc104d1af760e9.tar.gz
sequelpro-37cae99ed1ace10a7d106255efdc104d1af760e9.tar.bz2
sequelpro-37cae99ed1ace10a7d106255efdc104d1af760e9.zip
Implementation of enhancement #273: Allow user to truncate table by right clicking.
Diffstat (limited to 'Source/TablesList.h')
-rw-r--r--Source/TablesList.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/TablesList.h b/Source/TablesList.h
index 6fd86c56..574f9c18 100644
--- a/Source/TablesList.h
+++ b/Source/TablesList.h
@@ -64,6 +64,7 @@ enum sp_table_types
IBOutlet id tableRenameField;
IBOutlet id tableRenameText;
IBOutlet id renameTableButton;
+ IBOutlet id truncateTableButton;
IBOutlet NSMenuItem *removeTableMenuItem;
IBOutlet NSMenuItem *duplicateTableMenuItem;
@@ -85,12 +86,14 @@ enum sp_table_types
- (IBAction)removeTable:(id)sender;
- (IBAction)copyTable:(id)sender;
- (IBAction)renameTable:(id)sender;
+- (IBAction)truncateTable:(id)sender;
// copyTableSheet methods
- (IBAction)closeCopyTableSheet:(id)sender;
// Additional methods
- (void)removeTable;
+- (void)truncateTable;
- (void)setConnection:(CMMCPConnection *)theConnection;
- (void)doPerformQueryService:(NSString *)query;