diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-03-21 15:04:26 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-03-21 15:04:26 +0000 |
commit | 919f4705fc4d4e59133e4279a1e87dc432e12f2d (patch) | |
tree | 66a68e5468ce07686018771b8a688dab3e6d523d /Source/SPNavigatorController.h | |
parent | ae11a5012799de3e4f2f8a682fb4dcfdae0563c2 (diff) | |
download | sequelpro-919f4705fc4d4e59133e4279a1e87dc432e12f2d.tar.gz sequelpro-919f4705fc4d4e59133e4279a1e87dc432e12f2d.tar.bz2 sequelpro-919f4705fc4d4e59133e4279a1e87dc432e12f2d.zip |
• Navigator
- preserve selection; if generally possible check if selected item still exists if not select parent if still exists on so forth
- a reload should only occurs if structure was changed
Diffstat (limited to 'Source/SPNavigatorController.h')
-rw-r--r-- | Source/SPNavigatorController.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/SPNavigatorController.h b/Source/SPNavigatorController.h index 43b7a1a8..c0789c4f 100644 --- a/Source/SPNavigatorController.h +++ b/Source/SPNavigatorController.h @@ -42,6 +42,12 @@ NSMutableDictionary *expandStatus1; NSMutableDictionary *expandStatus2; + NSString *selectedKey1; + NSString *selectedKey2; + NSRect selectionViewPort1; + NSRect selectionViewPort2; + BOOL ignoreUpdate; + } + (SPNavigatorController *)sharedNavigatorController; @@ -52,4 +58,8 @@ - (IBAction)filterTree:(id)sender; - (NSString*)tableInfoLabelForIndex:(NSInteger)index; + +- (void)restoreSelectedItems; +- (void)setIgnoreUpdate:(BOOL)flag; + @end |