diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-03-25 15:24:56 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-03-25 15:24:56 +0000 |
commit | 8d055c6df1d1590f97bd9e7c4834c05c706f27b7 (patch) | |
tree | ffbefdfe38f18be63a294465c6a6ca8426c8a76b /Source/SPNavigatorController.h | |
parent | 74cb1152eeb0dcc83f12ea6cf040eacc4e15c551 (diff) | |
download | sequelpro-8d055c6df1d1590f97bd9e7c4834c05c706f27b7.tar.gz sequelpro-8d055c6df1d1590f97bd9e7c4834c05c706f27b7.tar.bz2 sequelpro-8d055c6df1d1590f97bd9e7c4834c05c706f27b7.zip |
• Navigator
- first implementation of a search functionality, workable but tiny issues have to be improved
- up to now the only search implemented is 'contains', regexp/fuzzy search will come soon
- the search is only performed in the main outline view, the upper one is static
- for the new search store all available schema paths uniquely in an array which will be set during queryDbStructure (this avoids re-parsing of a dict structure)
Diffstat (limited to 'Source/SPNavigatorController.h')
-rw-r--r-- | Source/SPNavigatorController.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/SPNavigatorController.h b/Source/SPNavigatorController.h index 94e8b6a3..fb4c5bc2 100644 --- a/Source/SPNavigatorController.h +++ b/Source/SPNavigatorController.h @@ -42,7 +42,8 @@ NSUserDefaults *prefs; NSMutableDictionary *schemaData; - NSMutableDictionary *schemaDataUnFiltered; + NSMutableDictionary *schemaDataFiltered; + NSMutableDictionary *allSchemaKeys; NSMutableArray *infoArray; NSMutableDictionary *expandStatus1; NSMutableDictionary *expandStatus2; @@ -52,6 +53,7 @@ NSRect selectionViewPort1; NSRect selectionViewPort2; BOOL ignoreUpdate; + BOOL isFiltered; } + (SPNavigatorController *)sharedNavigatorController; |