From fd9839fa73309ed9f1471be2032907f4e49b69da Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Wed, 31 Mar 2010 15:41:35 +0000 Subject: Add a new gear drop down menu to the connection favorites table view containing the remove, duplicate and sort favorites menu items. Also, fix the selection of newly added and duplicated favorites because of sorting options being applied. --- Interfaces/English.lproj/MainMenu.xib | 293 +----------- Interfaces/English.lproj/Preferences.xib | 754 ++++++++++++++++++------------- 2 files changed, 457 insertions(+), 590 deletions(-) (limited to 'Interfaces') diff --git a/Interfaces/English.lproj/MainMenu.xib b/Interfaces/English.lproj/MainMenu.xib index 1cc2960d..21153309 100644 --- a/Interfaces/English.lproj/MainMenu.xib +++ b/Interfaces/English.lproj/MainMenu.xib @@ -2,10 +2,10 @@ 1050 - 10C540 + 10D573 740 - 1038.25 - 458.00 + 1038.29 + 460.00 com.apple.InterfaceBuilder.CocoaPlugin 740 @@ -1200,73 +1200,6 @@ - - - YES - YES - - - 2147483647 - - - - - - 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 @@ -3018,38 +2951,6 @@ 1051 - - - sortFavorites: - - - - 1066 - - - - sortFavorites: - - - - 1067 - - - - reverseFavoritesSortOrder: - - - - 1068 - - - - sortFavorites: - - - - 1070 - @@ -4367,14 +4268,12 @@ - - @@ -4424,11 +4323,6 @@ - - 805 - - - 791 @@ -4459,58 +4353,11 @@ - - 1058 - - - YES - - - - - - 1059 - - - YES - - - - - - - - 1061 - - 1062 - - - - - 1063 - - - - - 1064 - - - - - 1065 - - - - - 1069 - - - @@ -4539,19 +4386,11 @@ 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 @@ -4804,7 +4643,6 @@ 791.IBPluginDependency 794.IBPluginDependency 797.IBPluginDependency - 805.IBPluginDependency 806.IBPluginDependency 807.IBPluginDependency 81.IBEditorWindowLastContentRect @@ -4916,20 +4754,12 @@ 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 @@ -5008,7 +4838,7 @@ com.apple.InterfaceBuilder.CocoaPlugin {{449, 1007}, {197, 53}} - {{322, 824}, {511, 20}} + {{38, 903}, {511, 20}} com.apple.InterfaceBuilder.CocoaPlugin {{506, 836}, {511, 20}} @@ -5061,7 +4891,7 @@ com.apple.InterfaceBuilder.CocoaPlugin - {{514, 501}, {251, 323}} + {{230, 610}, {251, 293}} com.apple.InterfaceBuilder.CocoaPlugin {{698, 703}, {184, 133}} @@ -5183,7 +5013,6 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin {{428, 491}, {235, 333}} com.apple.InterfaceBuilder.CocoaPlugin @@ -5699,118 +5528,6 @@ - - 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 diff --git a/Interfaces/English.lproj/Preferences.xib b/Interfaces/English.lproj/Preferences.xib index b08bd332..6ff611c0 100644 --- a/Interfaces/English.lproj/Preferences.xib +++ b/Interfaces/English.lproj/Preferences.xib @@ -2,21 +2,30 @@ 1050 - 10C540 + 10D573 740 - 1038.25 - 458.00 + 1038.29 + 460.00 - com.apple.InterfaceBuilder.CocoaPlugin - 740 + YES + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.brandonwalkin.BWToolkit + + + YES + 740 + 1.2.2 + YES - - + YES + com.brandonwalkin.BWToolkit com.apple.InterfaceBuilder.CocoaPlugin @@ -1476,77 +1485,180 @@ 274 YES - + - 292 - {{62, -1}, {33, 25}} - - YES - - 67239424 - 134217728 - - - - -2042347265 - 268435491 - - NSImage - button_duplicate + 290 + + YES + + + 292 + {{-1, -1}, {32, 25}} + + YES + + 67239424 + 134217728 + + + + -2041822977 + 402653219 + + NSImage + button_add + + + a + 400 + 75 + - - d - 400 - 75 - - - - - 292 - {{0, -1}, {32, 25}} - - YES - - 67239424 - 134217728 - - - - -2042347265 - 402653219 - - NSImage - button_add + + + 292 + {{30, -1}, {32, 24}} + + YES + + 71433792 + 134219776 + + + -2038284033 + 134217891 + + Gw + 400 + 75 + + + YES + + + 1048576 + 2147483647 + + NSImage + NSActionTemplate + + + + _popUpItemAction: + + + YES + + OtherViews + + YES + + + + Remove + CA + 2147483647 + + + _popUpItemAction: + + + + + Duplicate + d + 1048576 + 2147483647 + + + _popUpItemAction: + + + + + YES + YES + + + 2147483647 + + + _popUpItemAction: + + + + + Sort By + + 2147483647 + + + submenuAction: + + Sort By + + YES + + + Name + + 2147483647 + + + + + + Host + + 2147483647 + + + + + + Type + + 2147483647 + + + + + + YES + YES + + + 2147483647 + + + + + + Reverse Sort Order + + 2147483647 + + + + + + + + + 2 + YES + 1 + YES + YES + - - a - 400 - 75 - - - - 292 - {{31, -1}, {32, 25}} + {197, 23} - YES - - 67239424 - 134217728 - - - - -2042347265 - 35 - - NSImage - button_remove - - - - 400 - 75 - + YES + YES + NO + 0 @@ -1680,38 +1792,6 @@ QSAAAEEgAABCPAAAQjwAAA - - - 290 - - YES - - YES - Apple PDF pasteboard type - Apple PICT pasteboard type - Apple PNG pasteboard type - NSFilenamesPboardType - NeXT Encapsulated PostScript v1.2 pasteboard type - NeXT TIFF v4.0 pasteboard type - - - {{95, 0}, {102, 23}} - - YES - - 130560 - 33554432 - - NSImage - button_bar_spacer - - 0 - 1 - 0 - NO - - YES - {197, 381} @@ -4109,7 +4189,7 @@ AQAAAAA YES - Remove Favorite + Remove 2147483647 @@ -4127,7 +4207,7 @@ AQAAAAA - Duplicate Favorite + Duplicate 2147483647 @@ -4211,22 +4291,6 @@ AQAAAAA 416 - - - enabled: canAdd - - - - - - enabled: canAdd - enabled - canAdd - 2 - - - 419 - takeIntValueFrom: @@ -4607,30 +4671,6 @@ AQAAAAA 716 - - - addFavorite: - - - - 717 - - - - duplicateFavorite: - - - - 718 - - - - removeFavorite: - - - - 719 - updateDefaultFavorite: @@ -4639,38 +4679,6 @@ AQAAAAA 720 - - - enabled: canRemove - - - - - - enabled: canRemove - enabled - canRemove - 2 - - - 771 - - - - enabled: canRemove - - - - - - enabled: canRemove - enabled - canRemove - 2 - - - 772 - delegate @@ -6420,6 +6428,62 @@ AQAAAAA 1555 + + + addFavorite: + + + + 1605 + + + + removeFavorite: + + + + 1606 + + + + duplicateFavorite: + + + + 1607 + + + + sortFavorites: + + + + 1608 + + + + sortFavorites: + + + + 1609 + + + + sortFavorites: + + + + 1610 + + + + reverseFavoritesSortOrder: + + + + 1611 + @@ -6833,11 +6897,8 @@ AQAAAAA YES - - - - + @@ -6854,62 +6915,6 @@ AQAAAAA - - 392 - - - YES - - - - - - 399 - - - - - 393 - - - YES - - - - - - 398 - - - - - 394 - - - YES - - - - - - 397 - - - - - 395 - - - YES - - - - - - 396 - - - 406 @@ -9090,6 +9095,128 @@ AQAAAAA + + 1583 + + + YES + + + + + + + 1584 + + + YES + + + + + + 1586 + + + YES + + + + + + 1587 + + + + + 1589 + + + YES + + + + + + 1590 + + + YES + + + + + + + + + + 1591 + + + + + 1592 + + + + + 1594 + + + + + 1597 + + + + + 1598 + + + YES + + + + + + 1599 + + + YES + + + + + + + + + + 1600 + + + + + 1601 + + + + + 1602 + + + + + 1603 + + + + + 1604 + + + @@ -9328,6 +9455,27 @@ AQAAAAA 1548.IBPluginDependency 1549.IBPluginDependency 1551.IBPluginDependency + 1583.IBPluginDependency + 1584.IBAttributePlaceholdersKey + 1584.IBPluginDependency + 1586.IBAttributePlaceholdersKey + 1586.IBPluginDependency + 1587.IBPluginDependency + 1589.IBPluginDependency + 1590.IBEditorWindowLastContentRect + 1590.IBPluginDependency + 1591.IBPluginDependency + 1592.IBPluginDependency + 1594.IBPluginDependency + 1597.IBPluginDependency + 1598.IBPluginDependency + 1599.IBEditorWindowLastContentRect + 1599.IBPluginDependency + 1600.IBPluginDependency + 1601.IBPluginDependency + 1602.IBPluginDependency + 1603.IBPluginDependency + 1604.IBPluginDependency 17.IBEditorWindowLastContentRect 17.IBPluginDependency 17.IBUserGuides @@ -9368,17 +9516,6 @@ AQAAAAA 38.ImportedFromIB2 39.IBPluginDependency 39.ImportedFromIB2 - 392.IBAttributePlaceholdersKey - 392.IBPluginDependency - 393.IBAttributePlaceholdersKey - 393.IBPluginDependency - 394.IBAttributePlaceholdersKey - 394.IBPluginDependency - 395.IBPluginDependency - 396.IBPluginDependency - 397.IBPluginDependency - 398.IBPluginDependency - 399.IBPluginDependency 40.IBPluginDependency 40.ImportedFromIB2 400.IBEditorWindowLastContentRect @@ -9823,7 +9960,42 @@ AQAAAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{908, 461}, {175, 53}} + {{908, 461}, {116, 53}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.brandonwalkin.BWToolkit + + ToolTip + + ToolTip + + (⌥⎋) + + + com.brandonwalkin.BWToolkit + + ToolTip + + ToolTip + + Add Favorite (⌥⌘A) + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.brandonwalkin.BWToolkit + {{656, 406}, {124, 81}} + com.brandonwalkin.BWToolkit + com.brandonwalkin.BWToolkit + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{780, 333}, {180, 93}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -9875,41 +10047,9 @@ AQAAAAA com.apple.InterfaceBuilder.CocoaPlugin - - ToolTip - - ToolTip - - Add favorite (⌘⌥A) - - - com.apple.InterfaceBuilder.CocoaPlugin - - ToolTip - - ToolTip - - Delete selected favorite(s) - - - com.apple.InterfaceBuilder.CocoaPlugin - - ToolTip - - ToolTip - - Duplicate selected favorite (⌘D) - - - 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 - {{627, 350}, {500, 381}} + {{637, 464}, {500, 381}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -10211,7 +10351,7 @@ AQAAAAA - 1555 + 1611 @@ -10325,10 +10465,11 @@ AQAAAAA duplicateFavorite: favoriteTypeDidChange: removeFavorite: - saveFavorite: + reverseFavoritesSortOrder: setDefaultColors: showCustomQueryFontPanel: showGlobalResultTableFontPanel: + sortFavorites: updateDefaultFavorite: @@ -10350,6 +10491,7 @@ AQAAAAA id id id + id @@ -10442,6 +10584,30 @@ AQAAAAA YES + + BWAnchoredButtonBar + NSView + + IBFrameworkSource + BWToolkitFramework.framework/Headers/BWAnchoredButtonBar.h + + + + BWAnchoredPopUpButton + NSPopUpButton + + IBFrameworkSource + BWToolkitFramework.framework/Headers/BWAnchoredPopUpButton.h + + + + BWAnchoredPopUpButtonCell + NSPopUpButtonCell + + IBFrameworkSource + BWToolkitFramework.framework/Headers/BWAnchoredPopUpButtonCell.h + + NSActionCell NSCell @@ -10580,22 +10746,6 @@ AQAAAAA Foundation.framework/Headers/NSFormatter.h - - NSImageCell - NSCell - - IBFrameworkSource - AppKit.framework/Headers/NSImageCell.h - - - - NSImageView - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSImageView.h - - NSMenu NSObject -- cgit v1.2.3