aboutsummaryrefslogtreecommitdiffstats
path: root/TableDocument.h
diff options
context:
space:
mode:
authoravenjamin <avenjamin@gmail.com>2008-08-30 17:12:45 +0000
committeravenjamin <avenjamin@gmail.com>2008-08-30 17:12:45 +0000
commit50404d84388ed339dc929ac1cbb27aae3a29cb51 (patch)
tree134df17df4caccf171ed8b8f40ee3c52aacb62ec /TableDocument.h
parent3346039f0a92087d9c45cc8b20ff99fb95f85c38 (diff)
downloadsequelpro-50404d84388ed339dc929ac1cbb27aae3a29cb51.tar.gz
sequelpro-50404d84388ed339dc929ac1cbb27aae3a29cb51.tar.bz2
sequelpro-50404d84388ed339dc929ac1cbb27aae3a29cb51.zip
• Fixed Credits
• Added grabber images • Removed small icon of table and replaced with new one • Added "Checksum Table" to MainMenu • Added extra splitter grab handles • Few other bits cleaned up
Diffstat (limited to 'TableDocument.h')
-rw-r--r--TableDocument.h113
1 files changed, 58 insertions, 55 deletions
diff --git a/TableDocument.h b/TableDocument.h
index 9ce99fd7..7a794f8e 100644
--- a/TableDocument.h
+++ b/TableDocument.h
@@ -35,63 +35,63 @@
@interface TableDocument : NSDocument
{
//IBOutlets
- IBOutlet id keyChainInstance;
- IBOutlet id tablesListInstance;
- IBOutlet id tableSourceInstance;
- IBOutlet id tableContentInstance;
- IBOutlet id customQueryInstance;
- IBOutlet id tableDumpInstance;
- IBOutlet id tableStatusInstance;
-
- IBOutlet id tableWindow;
- IBOutlet id connectSheet;
- IBOutlet id databaseSheet;
- IBOutlet id variablesSheet;
- IBOutlet id tableOperationsSheet;
- IBOutlet id consoleDrawer;
-
- IBOutlet id queryProgressBar;
- IBOutlet id favoritesButton;
- IBOutlet NSTableView *connectFavoritesTableView;
- IBOutlet NSArrayController *favoritesController;
- IBOutlet id hostField;
- IBOutlet id socketField;
- IBOutlet id userField;
- IBOutlet id passwordField;
- IBOutlet id portField;
- IBOutlet id databaseField;
-
- IBOutlet NSButton *connectAddToFavoritesCheckbox;
- IBOutlet id connectProgressBar;
- IBOutlet id connectProgressStatusText;
- IBOutlet id databaseNameField;
- IBOutlet id chooseDatabaseButton;
- IBOutlet id consoleTextView;
- IBOutlet id variablesTableView;
- IBOutlet id chooseTableOperationButton;
- IBOutlet NSTabView *tableTabView;
+ IBOutlet id keyChainInstance;
+ IBOutlet id tablesListInstance;
+ IBOutlet id tableSourceInstance;
+ IBOutlet id tableContentInstance;
+ IBOutlet id customQueryInstance;
+ IBOutlet id tableDumpInstance;
+ IBOutlet id tableStatusInstance;
+
+ IBOutlet id tableWindow;
+ IBOutlet id connectSheet;
+ IBOutlet id databaseSheet;
+ IBOutlet id variablesSheet;
+ IBOutlet id consoleDrawer;
+
+ IBOutlet id queryProgressBar;
+ IBOutlet id favoritesButton;
+ IBOutlet NSTableView *connectFavoritesTableView;
+ IBOutlet NSArrayController *favoritesController;
+ IBOutlet id hostField;
+ IBOutlet id socketField;
+ IBOutlet id userField;
+ IBOutlet id passwordField;
+ IBOutlet id portField;
+ IBOutlet id databaseField;
+
+ IBOutlet NSButton *connectAddToFavoritesCheckbox;
+ IBOutlet id connectProgressBar;
+ IBOutlet id connectProgressStatusText;
+ IBOutlet id databaseNameField;
+ IBOutlet id chooseDatabaseButton;
+ IBOutlet id consoleTextView;
+ IBOutlet id variablesTableView;
+ IBOutlet NSTabView *tableTabView;
- IBOutlet NSTableView *dbTablesTableView;
-
+ IBOutlet id sidebarGrabber;
+
+ IBOutlet NSTableView *dbTablesTableView;
+
IBOutlet id syntaxView;
IBOutlet id syntaxViewContent;
- IBOutlet NSWindow *createTableSyntaxWindow;
-
- CMMCPConnection *mySQLConnection;
-
- NSArray *favorites;
- NSArray *variables;
- NSString *selectedDatabase;
- NSString *selectedFavorite;
- NSString *mySQLVersion;
- NSUserDefaults *prefs;
-
- NSMenu *selectEncodingMenu;
- BOOL _supportsEncoding;
- NSString *_encoding;
-
- NSToolbar *mainToolbar;
- NSToolbarItem *chooseDatabaseToolbarItem;
+ IBOutlet NSWindow *createTableSyntaxWindow;
+
+ CMMCPConnection *mySQLConnection;
+
+ NSArray *favorites;
+ NSArray *variables;
+ NSString *selectedDatabase;
+ NSString *selectedFavorite;
+ NSString *mySQLVersion;
+ NSUserDefaults *prefs;
+
+ NSMenu *selectEncodingMenu;
+ BOOL _supportsEncoding;
+ NSString *_encoding;
+
+ NSToolbar *mainToolbar;
+ NSToolbarItem *chooseDatabaseToolbarItem;
}
//start sheet
@@ -147,6 +147,7 @@
- (IBAction)optimizeTable:(id)sender;
- (IBAction)repairTable:(id)sender;
- (IBAction)flushTable:(id)sender;
+- (IBAction)checksumTable:(id)sender;
//other methods
- (NSString *)host;
@@ -203,6 +204,8 @@
- (BOOL)splitView:(NSSplitView *)sender canCollapseSubview:(NSView *)subview;
- (float)splitView:(NSSplitView *)sender constrainMaxCoordinate:(float)proposedMax ofSubviewAt:(int)offset;
- (float)splitView:(NSSplitView *)sender constrainMinCoordinate:(float)proposedMin ofSubviewAt:(int)offset;
+- (NSRect)splitView:(NSSplitView *)splitView additionalEffectiveRectOfDividerAtIndex:(int)dividerIndex;
+
//tableView datasource methods
- (int)numberOfRowsInTableView:(NSTableView *)aTableView;
@@ -215,4 +218,4 @@
@end
-extern NSString *TableDocumentFavoritesControllerSelectionIndexDidChange; \ No newline at end of file
+extern NSString *TableDocumentFavoritesControllerSelectionIndexDidChange;