aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTablesList.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-11-03 01:42:32 +0000
committerrowanbeentje <rowan@beent.je>2010-11-03 01:42:32 +0000
commit6d5927b835706d28ee8ec24254d7b5c19bf6e5fe (patch)
treeab9d3c93221afd14c0d1634a72437fb152ed129f /Source/SPTablesList.h
parente3b2ea1aa4b868db760d465e2a4319f86c475131 (diff)
downloadsequelpro-6d5927b835706d28ee8ec24254d7b5c19bf6e5fe.tar.gz
sequelpro-6d5927b835706d28ee8ec24254d7b5c19bf6e5fe.tar.bz2
sequelpro-6d5927b835706d28ee8ec24254d7b5c19bf6e5fe.zip
Add a new category to SPDatabaseDocument, allowing code cleanup and moving central functionality out of SPTablesList:
- Centralise control over table loading, moving it away from SPTablesList and into SPDatabaseDocument and the new SPDatabaseViewController category - Centralise control over the main tab view, moving control away from SPTablesList and into SPDatabaseDocument and the new SPDatabaseViewController category - Simplify and clean up view loading logic - Improve thread safety - Update localisable strings
Diffstat (limited to 'Source/SPTablesList.h')
-rw-r--r--Source/SPTablesList.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/Source/SPTablesList.h b/Source/SPTablesList.h
index f0b0bed4..1ae4eecd 100644
--- a/Source/SPTablesList.h
+++ b/Source/SPTablesList.h
@@ -56,7 +56,6 @@
IBOutlet id copyTableNameField;
IBOutlet id copyTableMessageField;
IBOutlet id copyTableContentSwitch;
- IBOutlet id tabView;
IBOutlet id tableSheet;
IBOutlet id tableNameField;
IBOutlet id tableEncodingButton;
@@ -101,7 +100,7 @@
BOOL tableListIsSelectable;
BOOL tableListContainsViews;
- BOOL structureLoaded, contentLoaded, statusLoaded, triggersLoaded, alertSheetOpened;
+ BOOL alertSheetOpened;
}
// IBAction methods
@@ -117,8 +116,6 @@
// Additional methods
- (void)setConnection:(MCPConnection *)theConnection;
- (void)doPerformQueryService:(NSString *)query;
-- (void)updateSelectionWithTaskString:(NSString *)taskString;
-- (void)updateSelectionTask;
- (void)setSelection:(NSDictionary *)selectionDetails;
- (void)selectTableAtIndex:(NSNumber *)row;
- (void)makeTableListFilterHaveFocus;
@@ -139,18 +136,12 @@
- (NSArray *)allDatabaseNames;
- (NSArray *)allSystemDatabaseNames;
- (NSString *)selectedDatabase;
-- (BOOL)structureLoaded;
-- (BOOL)contentLoaded;
-- (BOOL)statusLoaded;
// Setters
- (void)setContentRequiresReload:(BOOL)reload;
- (void)setStatusRequiresReload:(BOOL)reload;
- (BOOL)selectItemWithName:(NSString *)theName;
-// Tabview delegate methods
-- (void)loadTabTask:(NSTabViewItem *)tabViewItem;
-
// Table list filter interaction
- (void) showFilter;
- (void) hideFilter;