From 0b4ee446f7052f964f704d8dfabe53103733325b Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sat, 27 Mar 2010 15:34:31 +0000 Subject: Add the ability to sort the connection favorites table view in the preferences. Sort options are by name, host or type as well as the option to be sorted in reverse order. This implements issue #490. --- Interfaces/English.lproj/MainMenu.xib | 293 +++++++++++++++++++++++++++++++++- 1 file changed, 288 insertions(+), 5 deletions(-) (limited to 'Interfaces/English.lproj') diff --git a/Interfaces/English.lproj/MainMenu.xib b/Interfaces/English.lproj/MainMenu.xib index 0dcd0af4..a51aa337 100644 --- a/Interfaces/English.lproj/MainMenu.xib +++ b/Interfaces/English.lproj/MainMenu.xib @@ -12,7 +12,7 @@ YES - + YES @@ -1209,6 +1209,73 @@ + + + Favorites + + 2147483647 + + + submenuAction: + + Favorites + + YES + + + Sort By Name + + 2147483647 + + + + + + Sort By Host + + 2147483647 + + + + + + Sort By Type + + 2147483647 + + + + + + YES + YES + + + 2147483647 + + + + + + Reverse Sort Order + + 2147483647 + + + + + + + + + YES + YES + + + 2147483647 + + + Hide Toolbar @@ -2950,6 +3017,38 @@ 1051 + + + sortFavorites: + + + + 1066 + + + + sortFavorites: + + + + 1067 + + + + reverseFavoritesSortOrder: + + + + 1068 + + + + sortFavorites: + + + + 1070 + @@ -4274,6 +4373,8 @@ + + @@ -4357,6 +4458,58 @@ + + 1058 + + + YES + + + + + + 1059 + + + YES + + + + + + + + + + 1061 + + + + + 1062 + + + + + 1063 + + + + + 1064 + + + + + 1065 + + + + + 1069 + + + @@ -4385,10 +4538,19 @@ 1047.IBPluginDependency 1048.IBPluginDependency 1050.IBPluginDependency + 1058.IBPluginDependency + 1059.IBEditorWindowLastContentRect + 1059.IBPluginDependency 106.IBEditorWindowLastContentRect 106.IBPluginDependency 106.ImportedFromIB2 106.editorWindowContentRectSynchronizationRect + 1061.IBPluginDependency + 1062.IBPluginDependency + 1063.IBPluginDependency + 1064.IBPluginDependency + 1065.IBPluginDependency + 1069.IBPluginDependency 111.IBPluginDependency 111.ImportedFromIB2 129.IBPluginDependency @@ -4753,11 +4915,20 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{765, 481}, {180, 93}} + com.apple.InterfaceBuilder.CocoaPlugin {{824, 199}, {204, 153}} com.apple.InterfaceBuilder.CocoaPlugin {{561, 605}, {181, 43}} com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -4889,7 +5060,7 @@ com.apple.InterfaceBuilder.CocoaPlugin - {{514, 531}, {251, 293}} + {{514, 501}, {251, 323}} com.apple.InterfaceBuilder.CocoaPlugin {{698, 703}, {184, 133}} @@ -5163,7 +5334,7 @@ - 1057 + 1070 @@ -5346,7 +5517,7 @@ NSObject - + IBProjectSource Source/SPQueryFavoriteManager.h @@ -5527,6 +5698,118 @@ + + SPPreferenceController + NSWindowController + + YES + + YES + addFavorite: + changeFont: + displayAutoUpdatePreferences: + displayEditorPreferences: + displayFavoritePreferences: + displayGeneralPreferences: + displayNetworkPreferences: + displayNotificationPreferences: + displayTablePreferences: + duplicateFavorite: + favoriteTypeDidChange: + removeFavorite: + reverseFavoritesSortOrder: + setDefaultColors: + showCustomQueryFontPanel: + showGlobalResultTableFontPanel: + sortFavorites: + updateDefaultFavorite: + + + YES + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + + + + YES + + YES + autoUpdateView + defaultFavoritePopup + editorFontName + editorView + favoriteHostTextField + favoriteHostTextFieldSSH + favoriteNameTextField + favoriteUserTextField + favoriteUserTextFieldSSH + favoriteUserTextFieldSocket + favoritesController + favoritesTabView + favoritesTableView + favoritesView + generalView + globalResultTableFontName + networkView + notificationsView + preferencesWindow + socketPasswordField + sshPasswordField + sshSQLPasswordField + standardPasswordField + tableCell + tablesView + + + YES + NSView + NSPopUpButton + NSTextField + NSView + NSTextField + NSTextField + NSTextField + NSTextField + NSTextField + NSTextField + NSArrayController + NSTabView + NSTableView + NSView + NSView + NSTextField + NSView + NSView + NSWindow + NSSecureTextField + NSSecureTextField + NSSecureTextField + NSSecureTextField + id + NSView + + + + IBProjectSource + Source/SPPreferenceController.h + + SPProcessListController NSWindowController @@ -5696,7 +5979,7 @@ BWAnchoredButtonBar - + SPServerVariablesController -- cgit v1.2.3