From 86085ceb7de7772dd3f85fb61f397e240b4a0e66 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Wed, 26 Aug 2009 02:21:53 +0000 Subject: Completely redesigned query favorite manager, including: - The ability to name query favorites - The ability to edit query favorites using the same editor in the cutom query view - The ability to save your query favorites to a file Note that any already saved query favorites will be upgraded to accommodate the new format, that is including a name associated with the query. The default name is the first 32 chars of the query with '...' appended. Also, added menu item validation to the 'Save Query to Favorites' menu item. --- Interfaces/English.lproj/DBView.xib | 1267 ++++----------- Interfaces/English.lproj/QueryFavoriteManager.xib | 1754 +++++++++++++++++++++ 2 files changed, 2029 insertions(+), 992 deletions(-) create mode 100644 Interfaces/English.lproj/QueryFavoriteManager.xib (limited to 'Interfaces/English.lproj') diff --git a/Interfaces/English.lproj/DBView.xib b/Interfaces/English.lproj/DBView.xib index dcadc284..aeb70ad6 100644 --- a/Interfaces/English.lproj/DBView.xib +++ b/Interfaces/English.lproj/DBView.xib @@ -8,7 +8,7 @@ 353.00 YES - + YES @@ -47,7 +47,7 @@ {3.40282e+38, 3.40282e+38} {780, 480} - + 256 YES @@ -186,6 +186,7 @@ {212, 26} + 6 @@ -221,6 +222,7 @@ {212, 26} + 0 @@ -335,6 +337,7 @@ {212, 354} + 6 @@ -366,6 +369,7 @@ {212, 354} + 528 @@ -490,6 +494,7 @@ {212, 145} + 6 @@ -516,6 +521,7 @@ {212, 145} + 512 @@ -589,7 +595,7 @@ -2033958657 163 - + NSImage NSAddTemplate @@ -2046,7 +2052,7 @@ content - + 256 YES @@ -2122,6 +2128,7 @@ {{1, 17}, {688, 455}} + 2 @@ -2155,6 +2162,7 @@ {{1, 0}, {688, 17}} + 4 @@ -2163,6 +2171,7 @@ {{6, 32}, {690, 473}} + 562 @@ -2233,8 +2242,8 @@ YES YES - , - . + . + , NO YES NO @@ -2818,7 +2827,6 @@ {{10, 7}, {700, 544}} - Content @@ -2827,7 +2835,7 @@ customQuery - + 256 YES @@ -2854,6 +2862,29 @@ 6418 + + YES + + YES + Apple HTML pasteboard type + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + Apple URL pasteboard type + CorePasteboardFlavorType 0x6D6F6F76 + CorePasteboardFlavorType 0x75726C20 + NSColor pasteboard type + NSFilenamesPboardType + NSStringPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT RTFD pasteboard type + NeXT Rich Text Format v1.0 pasteboard type + NeXT TIFF v4.0 pasteboard type + NeXT font pasteboard type + NeXT ruler pasteboard type + WebURLsWithTitlesPboardType + + {688, 14} @@ -3194,13 +3225,12 @@ _popUpItemAction: - + YES YES - 1048576 2147483647 @@ -3209,6 +3239,7 @@ + -1 YES 3 YES @@ -3229,7 +3260,7 @@ -2042609409 35 - + NSImage button_action @@ -3244,7 +3275,10 @@ 1048576 2147483647 - + + NSImage + button_action + _popUpItemAction: @@ -3616,6 +3650,7 @@ {{10, 7}, {700, 544}} + Custom Query @@ -4655,14 +4690,14 @@ - + 134217731 YES YES YES - + @@ -4678,6 +4713,7 @@ {944, 550} + {{0, 0}, {1920, 1178}} {780, 502} @@ -6911,260 +6947,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 {{0, 0}, {1440, 878}} {3.40282e+38, 3.40282e+38} - - 15 - 2 - {{503, 367}, {418, 200}} - 1886912512 - Query Favorites - NSWindow - - View - - {3.40282e+38, 3.40282e+38} - {213, 125} - - - 256 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 4352 - {418, 140} - - YES - - - 256 - {418, 17} - - - - - - 256 - {{-22, 0}, {12, 17}} - - - - YES - - name - 4.153290e+02 - 8.932900e+01 - 1.000000e+03 - - 75628032 - 134217728 - Query Favorites - - - 3 - MC4zMzMzMzI5OQA - - - - - 338820672 - 132096 - Text Cell - - - - - - 1 - YES - YES - - - - 3.000000e+00 - 2.000000e+00 - - - 1.300000e+01 - 306184192 - 5 - 15 - 0 - YES - - - {{1, 17}, {418, 140}} - - - - - 4 - - - - 256 - {{-100, -100}, {11, 105}} - - 256 - - _doScroller: - 6.266667e-01 - - - - 256 - {{-100, -100}, {365, 11}} - - 257 - - _doScroller: - 9.565217e-01 - - - - 2304 - - YES - - - {{1, 0}, {418, 17}} - - - - - 4 - - - - {{-1, 22}, {420, 158}} - - - 514 - - - - - - QSAAAEEgAABBcAAAQXAAAA - - - - 290 - - YES - - - 292 - {{61, 0}, {32, 24}} - - YES - - 67239424 - 134348800 - - - - -2033958657 - 35 - - NSImage - button_duplicate_icon - - - - 200 - 25 - - - - - 292 - {{-1, 0}, {32, 24}} - - YES - - 67239424 - 134348800 - - - - -2033958657 - 163 - - - - 200 - 25 - - - - - 292 - {{30, 0}, {32, 24}} - - YES - - 67239424 - 134348800 - - - - -2033958657 - 163 - - NSImage - NSRemoveTemplate - - - - 200 - 25 - - - - - 289 - {{339, 3}, {60, 17}} - - YES - - -2080244224 - 134348800 - Close - - - -2038152961 - 164 - - - 400 - 75 - - - - {{0, -1}, {419, 24}} - - NO - NO - NO - 2 - - - {418, 200} - - {{0, 0}, {1440, 878}} - {213, 147} - {3.40282e+38, 3.40282e+38} - 3 2 @@ -9057,119 +8839,106 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 {350, 272} {3.40282e+38, 3.40282e+38} - - 17 + + 9 2 - {{196, 380}, {287, 130}} - -1543503872 - Window - NSPanel - - - + {{343, 483}, {260, 112}} + 1886912512 + Query Favorite Sheet + NSWindow + + View + + {600, 112} + {260, 112} + + 256 YES - - - 268 - {{177, 11}, {96, 32}} - + + + 266 + {{17, 78}, {235, 14}} + + YES + + 67239488 + 4196864 + Query Name: + + + + + + + + + 258 + {{20, 52}, {220, 18}} + + YES + + -1804468671 + 4326400 + + + + YES + + + + + + + 289 + {{166, 13}, {79, 28}} + 1 YES - - 67239424 - 134217728 - OK - - + + 604110336 + 138018816 + Save + + 1 + -2038284033 - 129 + 1 + DQ 200 25 - - - 268 - {{74, 11}, {96, 32}} - + + + 257 + {{91, 13}, {77, 28}} + YES - - -2080244224 - 134217728 + + 67239424 + 138018816 Cancel - - + + -2038284033 - 129 + 1 + Gw 200 25 - - - 268 - {{20, 47}, {247, 22}} - - YES - - 343014976 - 272630784 - - - - YES - - - - YES - NSAllRomanInputSourcesLocaleIdentifier - - - - - - 268 - {{17, 99}, {257, 17}} - - YES - - 68288064 - 1077937152 - 123 - - - - - - - - - 268 - {{17, 77}, {256, 14}} - - YES - - 68288064 - 272761856 - 123 - - - - - - - {287, 130} - + {260, 112} - {{0, 0}, {1280, 1002}} - {3.40282e+38, 3.40282e+38} + {{0, 0}, {1680, 1028}} + {260, 134} + {600, 134} @@ -11555,10 +11324,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 NSView - - YES - _dummy - YES @@ -12269,38 +12034,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 721 - - - delegate - - - - 737 - - - - queryFavoritesView - - - - 738 - - - - queryFavoritesSheet - - - - 739 - - - - dataSource - - - - 746 - customQueryInstance @@ -14542,52 +14275,20 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 6088 - - closeQueryFavoritesSheet: - - + + singleProgressBar + + - 6111 + 6138 - - addQueryFavorite: - - + + singleProgressSheet + + - 6112 - - - - removeQueryFavorite: - - - - 6113 - - - - copyQueryFavorite: - - - - 6114 - - - - singleProgressBar - - - - 6138 - - - - singleProgressSheet - - - - 6139 + 6139 @@ -15339,84 +15040,59 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 - inputTextWindowHeader - - + queryFavoritesSheet + + - 6417 + 6415 - inputTextWindowMessage - - + queryFavoriteNameTextField + + - 6418 + 6416 - inputTextWindowSecureTextField - - + delegate + + - 6419 + 6417 - - inputTextWindow - - + + closeSheet: + + - 6422 + 6418 - closePasswordSheet: - - + closeSheet: + + - 6423 + 6419 - - closePasswordSheet: - - + + saveQueryFavoriteButton + + - 6424 + 6420 - - fontBold: values._dummy - - - - - - fontBold: values._dummy - fontBold - values._dummy - - YES - - YES - NSMultipleValuesPlaceholder - NSNoSelectionPlaceholder - NSNotApplicablePlaceholder - NSNullPlaceholder - - - YES - - - - - - - 2 - + + delegate + + - 6436 + 6421 @@ -15826,56 +15502,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 - - 724 - - - YES - - - - Query Favorites Sheet - - - 725 - - - YES - - - - - - - 730 - - - YES - - - - - - - - - 735 - - - YES - - - - - - 728 - - - YES - - - - 815 @@ -16758,11 +16384,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 - - 3904 - - - 3905 @@ -16877,16 +16498,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 - - 3941 - - - - - 3942 - - - 3946 @@ -18379,9 +17990,9 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 YES - + @@ -18390,11 +18001,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 - - 1179 - - - 1180 @@ -20746,79 +20352,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 - - 6094 - - - YES - - - - - - - - - 6102 - - - - - 6107 - - - YES - - - - - - 6108 - - - - - 6100 - - - YES - - - - - - 6101 - - - - - 6103 - - - YES - - - - - - 6104 - - - - - 6109 - - - YES - - - - - - 6110 - - - 6116 @@ -21642,96 +21175,86 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 6405 - + YES - + - Secure TextInput + Query Favorite Sheet 6406 - + YES - - - - - + + + + - + 6407 - + YES - + - + 6408 - - + + + YES + + + 6409 - + YES - + - + 6410 - - - - - 6411 - + YES - + - + + + + 6411 + + 6412 - - + + 6413 - - - YES - - - + + 6414 - - + + - 6415 - - - YES - - - - - - 6416 - - + 6422 + + @@ -21837,8 +21360,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 1178.IBEditorWindowLastContentRect 1178.IBPluginDependency 1178.ImportedFromIB2 - 1179.IBPluginDependency - 1179.ImportedFromIB2 1180.IBPluginDependency 1180.ImportedFromIB2 1181.IBPluginDependency @@ -22109,8 +21630,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 3893.IBPluginDependency 3903.IBPluginDependency 3903.IBShouldRemoveOnLegacySave - 3904.IBPluginDependency - 3904.IBShouldRemoveOnLegacySave 3905.IBPluginDependency 3905.IBShouldRemoveOnLegacySave 3906.IBPluginDependency @@ -22163,10 +21682,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 3939.IBShouldRemoveOnLegacySave 3940.IBPluginDependency 3940.IBShouldRemoveOnLegacySave - 3941.IBPluginDependency - 3941.IBShouldRemoveOnLegacySave - 3942.IBPluginDependency - 3942.IBShouldRemoveOnLegacySave 3946.IBPluginDependency 3946.IBShouldRemoveOnLegacySave 3947.IBPluginDependency @@ -22864,16 +22379,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 6084.IBPluginDependency 6085.IBPluginDependency 6086.IBPluginDependency - 6094.IBPluginDependency - 6100.IBPluginDependency - 6101.IBPluginDependency - 6102.IBPluginDependency - 6103.IBPluginDependency - 6104.IBPluginDependency - 6107.IBPluginDependency - 6108.IBPluginDependency - 6109.IBPluginDependency - 6110.IBPluginDependency 6116.IBPluginDependency 6117.IBPluginDependency 6125.IBEditorWindowLastContentRect @@ -23006,20 +22511,27 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 6384.IBPluginDependency 6385.IBPluginDependency 6405.IBEditorWindowLastContentRect - 6405.IBPluginDependency 6405.IBWindowTemplateEditedContentRect - 6405.NSWindowTemplate.visibleAtLaunch + 6405.ImportedFromIB2 + 6405.windowTemplate.hasMaxSize + 6405.windowTemplate.hasMinSize + 6405.windowTemplate.maxSize + 6405.windowTemplate.minSize 6406.IBPluginDependency + 6406.ImportedFromIB2 6407.IBPluginDependency + 6407.ImportedFromIB2 6408.IBPluginDependency + 6408.ImportedFromIB2 6409.IBPluginDependency + 6409.ImportedFromIB2 6410.IBPluginDependency + 6410.ImportedFromIB2 6411.IBPluginDependency 6412.IBPluginDependency 6413.IBPluginDependency 6414.IBPluginDependency - 6415.IBPluginDependency - 6416.IBPluginDependency + 6422.IBPluginDependency 654.IBPluginDependency 654.ImportedFromIB2 655.IBPluginDependency @@ -23067,22 +22579,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 715.ImportedFromIB2 716.IBPluginDependency 716.ImportedFromIB2 - 724.IBEditorWindowLastContentRect - 724.IBWindowTemplateEditedContentRect - 724.ImportedFromIB2 - 724.windowTemplate.hasMaxSize - 724.windowTemplate.hasMinSize - 724.windowTemplate.maxSize - 724.windowTemplate.minSize - 725.IBPluginDependency - 725.ImportedFromIB2 - 728.IBPluginDependency - 728.ImportedFromIB2 - 730.IBAttributePlaceholdersKey - 730.IBPluginDependency - 730.ImportedFromIB2 - 735.IBPluginDependency - 735.ImportedFromIB2 748.IBPluginDependency 748.ImportedFromIB2 749.IBPluginDependency @@ -23371,8 +22867,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - ToolTip @@ -23774,12 +23268,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 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 @@ -24048,9 +23536,9 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{78, 178}, {944, 550}} - - {{78, 178}, {944, 550}} + {{94, 422}, {944, 550}} + + {{94, 422}, {944, 550}} {{62, 352}, {845, 504}} @@ -24216,7 +23704,7 @@ aGUgYWN0aXZlIHNlbGVjdGlvbiAo4oyl4oyYUik com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{448, 381}, {236, 305}} + {{303, 496}, {236, 305}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -24494,8 +23982,8 @@ aGUgYWN0aXZlIHNlbGVjdGlvbiAo4oyl4oyYUik com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{695, 423}, {260, 112}} - {{695, 423}, {260, 112}} + {{654, 442}, {260, 112}} + {{654, 442}, {260, 112}} @@ -24623,16 +24111,6 @@ aGUgYWN0aXZlIHNlbGVjdGlvbiAo4oyl4oyYUik com.brandonwalkin.BWToolkit com.brandonwalkin.BWToolkit com.brandonwalkin.BWToolkit - com.brandonwalkin.BWToolkit - com.apple.InterfaceBuilder.CocoaPlugin - com.brandonwalkin.BWToolkit - com.brandonwalkin.BWToolkit - com.brandonwalkin.BWToolkit - com.brandonwalkin.BWToolkit - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.brandonwalkin.BWToolkit - com.brandonwalkin.BWToolkit {{717, 615}, {379, 139}} {{717, 615}, {379, 139}} @@ -24860,16 +24338,23 @@ aGUgYWN0aXZlIHNlbGVjdGlvbiAo4oyl4oyYUik com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{649, 617}, {287, 130}} - com.apple.InterfaceBuilder.CocoaPlugin - {{649, 617}, {287, 130}} - - com.apple.InterfaceBuilder.CocoaPlugin + {{869, 432}, {260, 112}} + {{869, 432}, {260, 112}} + + + + {600, 112} + {260, 112} 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 @@ -24922,30 +24407,6 @@ aGUgYWN0aXZlIHNlbGVjdGlvbiAo4oyl4oyYUik com.apple.InterfaceBuilder.CocoaPlugin - {{570, 250}, {418, 200}} - {{570, 250}, {418, 200}} - - - - {3.40282e+38, 3.40282e+38} - {213, 125} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - - ToolTip - - ToolTip - - RWRpdCBhIGZhdm9yaXRlIGJ5IGRvdWJsZS1jbGlja2luZyBvbiBpdCBvciBkcmFnJmRyb3AgaXQgdG8g -Y2hhbmdlIHRoZSBvcmRlcg - - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -25095,7 +24556,7 @@ Y2hhbmdlIHRoZSBvcmRlcg - 6436 + 6422 @@ -25166,12 +24627,9 @@ Y2hhbmdlIHRoZSBvcmRlcg YES YES - addQueryFavorite: chooseQueryFavorite: chooseQueryHistory: - closeQueryFavoritesSheet: closeSheet: - copyQueryFavorite: gearMenuItemSelected: helpSearchFindNextInPage: helpSearchFindPreviousInPage: @@ -25180,7 +24638,6 @@ Y2hhbmdlIHRoZSBvcmRlcg helpSelectHelpTargetPage: helpSelectHelpTargetWeb: helpTargetDispatcher: - removeQueryFavorite: runAllQueries: runSelectedQueries: showHelpForCurrentWord: @@ -25203,10 +24660,6 @@ Y2hhbmdlIHRoZSBvcmRlcg id id id - id - id - id - id @@ -25222,7 +24675,6 @@ Y2hhbmdlIHRoZSBvcmRlcg commentCurrentQueryMenuItem commentLineOrSelectionMenuItem completionListMenuItem - copyQueryFavoriteButton customQueryView editorFontMenuItem errorText @@ -25233,14 +24685,14 @@ Y2hhbmdlIHRoZSBvcmRlcg helpWebView helpWebViewWindow multipleLineEditingButton + queryFavoriteNameTextField queryFavoritesButton queryFavoritesSheet - queryFavoritesView queryHistoryButton - removeQueryFavoriteButton runAllButton runSelectionButton runSelectionMenuItem + saveQueryFavoriteButton shiftLeftMenuItem shiftRightMenuItem tableDocumentInstance @@ -25260,7 +24712,6 @@ Y2hhbmdlIHRoZSBvcmRlcg NSMenuItem NSMenuItem NSMenuItem - id CMCopyTable NSMenuItem id @@ -25271,14 +24722,14 @@ Y2hhbmdlIHRoZSBvcmRlcg WebView NSWindow id + NSTextField id - id - id - id + NSWindow id id id NSMenuItem + NSButton NSMenuItem NSMenuItem id @@ -25357,6 +24808,13 @@ Y2hhbmdlIHRoZSBvcmRlcg Source/SPConnectionController.h + + NSObject + + IBProjectSource + Source/SPQueryFavoriteManager.h + + NSObject @@ -25846,6 +25304,7 @@ Y2hhbmdlIHRoZSBvcmRlcg chooseEncoding: closeDatabaseSheet: closeErrorConnectionSheet: + closePasswordSheet: closeSheet: copyCreateTableSyntax: export: @@ -25854,10 +25313,10 @@ Y2hhbmdlIHRoZSBvcmRlcg flushPrivileges: flushTable: import: - openConnectionSheet: optimizeTable: removeDatabase: repairTable: + saveConnectionAccessoryPasswordButton: saveConnectionSheet: saveServerVariables: setDatabases: @@ -25906,6 +25365,7 @@ Y2hhbmdlIHRoZSBvcmRlcg id id id + id @@ -25924,13 +25384,24 @@ Y2hhbmdlIHRoZSBvcmRlcg databaseNameField databaseSheet dbTablesTableView - encodingAccessoryView encodingPopUp extendedTableInfoInstance favoritesButton historyControl + inputTextWindow + inputTextWindowHeader + inputTextWindowMessage + inputTextWindowSecureTextField listFilterField queryProgressBar + saveConnectionAccessory + saveConnectionAutoConnect + saveConnectionEncrypt + saveConnectionEncryptString + saveConnectionIncludeData + saveConnectionIncludeQuery + saveConnectionSavePassword + saveConnectionSavePasswordAlert saveVariablesButton sidebarGrabber spExportControllerInstance @@ -25970,13 +25441,24 @@ Y2hhbmdlIHRoZSBvcmRlcg id id NSTableView - id NSPopUpButton id id id + id + id + id + id NSSearchField id + id + id + id + NSSecureTextField + id + id + id + id NSButton id id @@ -26396,205 +25878,6 @@ Y2hhbmdlIHRoZSBvcmRlcg - - YES - - TableDocument - NSDocument - - YES - - YES - addConnectionToFavorites: - addDatabase: - analyzeTable: - checkTable: - checksumTable: - chooseDatabase: - chooseEncoding: - closeDatabaseSheet: - closeErrorConnectionSheet: - closePasswordSheet: - closeSheet: - copyCreateTableSyntax: - export: - exportMultipleTables: - exportTable: - flushPrivileges: - flushTable: - import: - optimizeTable: - removeDatabase: - repairTable: - saveConnectionAccessoryPasswordButton: - saveConnectionSheet: - saveServerVariables: - setDatabases: - showCreateTableSyntax: - showMySQLHelp: - showUserManager: - showVariables: - viewContent: - viewQuery: - viewRelations: - viewStatus: - viewStructure: - - - YES - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - id - - - - YES - - YES - addDatabaseButton - chooseDatabaseButton - connectionErrorDialog - contentViewSplitter - createTableSyntaxWindow - customQueryInstance - customQueryTextView - databaseDataInstance - databaseEncodingButton - databaseNameField - databaseSheet - dbTablesTableView - encodingPopUp - extendedTableInfoInstance - favoritesButton - historyControl - inputTextWindow - inputTextWindowHeader - inputTextWindowMessage - inputTextWindowSecureTextField - listFilterField - queryProgressBar - saveConnectionAccessory - saveConnectionEncrypt - saveConnectionEncryptString - saveConnectionIncludeData - saveConnectionSavePassword - saveVariablesButton - sidebarGrabber - spExportControllerInstance - spHistoryControllerInstance - syntaxView - syntaxViewContent - tableContentInstance - tableDataInstance - tableDumpInstance - tableInfoCollapseButton - tableInfoTable - tableListSplitter - tableRelationsInstance - tableSourceInstance - tableTabView - tableWindow - tablesListInstance - titleAccessoryView - titleImageView - titleStringView - variablesCountTextField - variablesSearchField - variablesSheet - variablesTableView - - - YES - id - id - NSWindow - NSSplitView - NSWindow - id - NSTextView - id - id - id - id - NSTableView - NSPopUpButton - id - id - id - id - id - id - id - NSSearchField - id - id - id - NSSecureTextField - id - id - NSButton - id - id - id - id - id - id - id - id - NSButton - NSTableView - NSSplitView - id - id - NSTabView - id - id - id - id - id - NSTextField - NSSearchField - id - id - - - - IBDocumentRelativeSource - ../../Source/TableDocument.h - - - 0 ../../sequel-pro.xcodeproj diff --git a/Interfaces/English.lproj/QueryFavoriteManager.xib b/Interfaces/English.lproj/QueryFavoriteManager.xib new file mode 100644 index 00000000..8a3931d1 --- /dev/null +++ b/Interfaces/English.lproj/QueryFavoriteManager.xib @@ -0,0 +1,1754 @@ + + + + 1050 + 9L30 + 677 + 949.54 + 353.00 + + YES + + + + YES + com.brandonwalkin.BWToolkit + com.apple.InterfaceBuilder.CocoaPlugin + + + YES + + YES + + + YES + + + + YES + + SPQueryFavoriteManager + + + FirstResponder + + + NSApplication + + + 15 + 2 + {{593, 356}, {500, 371}} + 813171712 + Query Favorite Manager + NSWindow + + {3.40282e+38, 3.40282e+38} + {500, 371} + + + 256 + + YES + + + 274 + + YES + + + 256 + + YES + + + 292 + {{0, -1}, {32, 25}} + + YES + + 67239424 + 134217728 + + + LucidaGrande + 1.300000e+01 + 1044 + + + -2041822977 + 402653219 + + NSImage + button_add + + + a + 400 + 75 + + + + + 292 + {{31, -1}, {32, 25}} + + YES + + 67239424 + 134217728 + + + + -2042347265 + 35 + + NSImage + button_remove + + + + 400 + 75 + + + + + 4370 + + YES + + + 2304 + + YES + + + 4352 + {190, 338} + + YES + + + -2147483392 + {{176, 0}, {16, 17}} + + + YES + + name + 1.870000e+02 + 4.000000e+01 + 1.000000e+03 + + 75628032 + 0 + Favorites + + LucidaGrande + 1.100000e+01 + 3100 + + + 3 + MC4zMzMzMzI5OQA + + + 6 + System + headerTextColor + + 3 + MAA + + + + + 69336641 + 133120 + Text Cell + + + + 6 + System + controlBackgroundColor + + 3 + MC42NjY2NjY2OQA + + + + 6 + System + controlTextColor + + + + + + + 3.000000e+00 + 2.000000e+00 + + 6 + System + _sourceListBackgroundColor + + 1 + MC44MzkyMTU3IDAuODY2NjY2NjcgMC44OTgwMzkyMgA + + + + 6 + System + gridColor + + 3 + MC41AA + + + 1.600000e+01 + 308281344 + 0 + 15 + 0 + NO + 1 + + + {{1, 1}, {168, 338}} + + + + + 4 + + + + -2147483392 + {{183, 1}, {11, 317}} + + 256 + + _doScroller: + 9.964158e-01 + + + + -2147483392 + {{-100, -100}, {311, 15}} + + YES + 1 + + _doScroller: + 9.953271e-01 + + + {{-2, 22}, {170, 340}} + + + 658 + + + + QSAAAEEgAABBkAAAQZAAAA + + + + 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 + + + {{94, 0}, {73, 23}} + + YES + + 130560 + 33554432 + + NSImage + button_bar_spacer + + 0 + 1 + 0 + NO + + YES + + + + 292 + {{62, -1}, {32, 24}} + + YES + + 71433792 + 134219776 + + + -2038284033 + 163 + + + 400 + 75 + + + YES + + + 1048576 + 2147483647 + + NSImage + NSActionTemplate + + + NSImage + NSMenuCheckmark + + + NSImage + NSMenuMixedState + + _popUpItemAction: + + + YES + + OtherViews + + YES + + + + Duplicate + + 2147483647 + + + _popUpItemAction: + + + + + Save to File... + + 2147483647 + + + _popUpItemAction: + + + + + YES + YES + + + 2147483647 + + + _popUpItemAction: + + + + + Remove All... + + 2147483647 + + + _popUpItemAction: + + + + + 4 + YES + 1 + YES + YES + + + + {167, 361} + + NSView + + + + 274 + + YES + + + 268 + {{17, 327}, {45, 14}} + + YES + + 68288064 + 272761856 + Name: + + + + 6 + System + controlColor + + + + + + + + 266 + {{58, 325}, {254, 19}} + + YES + + -1804468671 + 272761856 + + + + YES + + 6 + System + textBackgroundColor + + 3 + MQA + + + + 6 + System + textColor + + + + + + + 274 + + YES + + + 2304 + + YES + + + 2322 + + YES + + YES + Apple HTML pasteboard type + Apple PDF pasteboard type + Apple PICT pasteboard type + Apple PNG pasteboard type + Apple URL pasteboard type + CorePasteboardFlavorType 0x6D6F6F76 + CorePasteboardFlavorType 0x75726C20 + NSColor pasteboard type + NSFilenamesPboardType + NSStringPboardType + NeXT Encapsulated PostScript v1.2 pasteboard type + NeXT RTFD pasteboard type + NeXT Rich Text Format v1.0 pasteboard type + NeXT TIFF v4.0 pasteboard type + NeXT font pasteboard type + NeXT ruler pasteboard type + WebURLsWithTitlesPboardType + + + {290, 14} + + + + + + + + + + + YES + + + 6 + + + + 2.900000e+02 + 1 + + + 11811 + + + + YES + + YES + NSBackgroundColor + NSColor + + + YES + + 6 + System + selectedTextBackgroundColor + + + + 6 + System + selectedTextColor + + + + + + + YES + + YES + NSColor + NSUnderline + + + YES + + 1 + MCAwIDEAA + + + + + + + 6 + {582, 1e+07} + {223, 0} + + + + {{1, 1}, {290, 270}} + + + + + + {4, -5} + 1 + + 4 + + + + 256 + {{-100, -100}, {11, 133}} + + 256 + + _doScroller: + 7.388889e-01 + + + + 256 + {{-100, -100}, {87, 18}} + + 1 + + _doScroller: + 1.000000e+00 + 9.456522e-01 + + + {{20, 45}, {292, 272}} + + + 514 + + + + + + + 289 + {{230, 7}, {87, 28}} + + YES + + 67239424 + 134348800 + Close + + + -2038284033 + 129 + + DQ + 200 + 25 + + + + {{168, 0}, {332, 361}} + + NSView + + + {500, 361} + + YES + 2 + + + + 10 + {{0, 358}, {500, 5}} + + {0, 0} + + 67239424 + 0 + Box + + + + 3 + MCAwLjgwMDAwMDAxAA + + + 3 + 2 + 0 + NO + + + {500, 371} + + + {{0, 0}, {1680, 1028}} + {500, 393} + {3.40282e+38, 3.40282e+38} + + + YES + + + + YES + name + query + + YES + + YES + YES + YES + YES + + + + + YES + + + Remove + + 2147483647 + + + + + + Duplicate + + 2147483647 + + + + + + YES + YES + + + 2147483647 + + + + + + Save to File... + + 2147483647 + + + + + + + + + YES + + + window + + + + 133 + + + + delegate + + + + 134 + + + + favoriteNameTextField + + + + 139 + + + + favoriteQueryTextView + + + + 140 + + + + favoritesTableView + + + + 141 + + + + font: values.CustomQueryEditorFont + + + + + + font: values.CustomQueryEditorFont + font + values.CustomQueryEditorFont + + NSValueTransformerName + NSUnarchiveFromData + + 2 + + + 146 + + + + contentArray: values.queryFavorites + + + + + + contentArray: values.queryFavorites + contentArray + values.queryFavorites + + YES + + YES + NSDeletesObjectsOnRemove + NSHandlesContentAsCompoundValue + + + YES + + + + + 2 + + + 152 + + + + queryFavoritesController + + + + 157 + + + + value: arrangedObjects.name + + + + + + value: arrangedObjects.name + value + arrangedObjects.name + 2 + + + 165 + + + + enabled: canRemove + + + + + + enabled: canRemove + enabled + canRemove + 2 + + + 169 + + + + enabled: canAdd + + + + + + enabled: canAdd + enabled + canAdd + 2 + + + 171 + + + + addQueryFavorite: + + + + 180 + + + + removeQueryFavorite: + + + + 181 + + + + closeQueryManagerSheet: + + + + 184 + + + + nextKeyView + + + + 185 + + + + nextKeyView + + + + 186 + + + + delegate + + + + 187 + + + + delegate + + + + 188 + + + + dataSource + + + + 192 + + + + delegate + + + + 193 + + + + scrollView + + + + 197 + + + + delegate + + + + 198 + + + + menu + + + + 209 + + + + removeQueryFavorite: + + + + 211 + + + + copyQueryFavorite: + + + + 213 + + + + value: selection.name + + + + + + value: selection.name + value + selection.name + + YES + + YES + NSContinuouslyUpdatesValue + NSNoSelectionPlaceholder + + + YES + + no selection + + + 2 + + + 232 + + + + value: selection.query + + + + + + value: selection.query + value + selection.query + 2 + + + 237 + + + + saveFavoriteToFile: + + + + 249 + + + + saveFavoriteToFile: + + + + 250 + + + + removeAllQueryFavorites: + + + + 251 + + + + copyQueryFavorite: + + + + 253 + + + + + YES + + 0 + + YES + + + + + + -2 + + + RmlsZSdzIE93bmVyA + + + -1 + + + First Responder + + + -3 + + + Application + + + 1 + + + YES + + + + Favorite Manager + + + 2 + + + YES + + + + + + + 11 + + + YES + + + + + + + 13 + + + YES + + + + + + + + + + 14 + + + YES + + + + + + + + 17 + + + YES + + + + + + 18 + + + YES + + + + + + 19 + + + + + 20 + + + + + 23 + + + YES + + + + + + 24 + + + + + 25 + + + + + 26 + + + YES + + + + + + 27 + + + + + 12 + + + YES + + + + + + + + + 127 + + + YES + + + + + + + + 130 + + + + + 129 + + + + + 128 + + + + + 123 + + + YES + + + + + + 124 + + + + + 121 + + + YES + + + + + + 122 + + + + + 131 + + + YES + + + + + + 132 + + + + + 15 + + + YES + + + + + + 22 + + + + + 142 + + + + + 143 + + + + + 148 + + + Query Favorites + + + 205 + + + YES + + + + + + + Favorite Context Menu + + + 206 + + + + + 212 + + + + + 238 + + + YES + + + + + + 239 + + + YES + + + + + + 240 + + + YES + + + + + + + + + + 241 + + + + + 243 + + + + + 244 + + + + + 246 + + + + + 247 + + + + + 248 + + + + + 252 + + + + + + + YES + + YES + -1.IBPluginDependency + -2.IBPluginDependency + -3.IBPluginDependency + 1.IBEditorWindowLastContentRect + 1.IBWindowTemplateEditedContentRect + 1.NSWindowTemplate.visibleAtLaunch + 1.WindowOrigin + 1.editorWindowContentRectSynchronizationRect + 1.windowTemplate.hasMinSize + 1.windowTemplate.minSize + 11.IBPluginDependency + 12.IBPluginDependency + 121.IBPluginDependency + 122.IBPluginDependency + 123.IBPluginDependency + 124.IBPluginDependency + 127.IBPluginDependency + 128.IBPluginDependency + 129.IBPluginDependency + 13.IBPluginDependency + 130.CustomClassName + 130.IBPluginDependency + 131.IBPluginDependency + 132.IBPluginDependency + 14.IBPluginDependency + 14.ImportedFromIB2 + 142.IBPluginDependency + 143.IBPluginDependency + 148.IBPluginDependency + 15.IBPluginDependency + 17.IBAttributePlaceholdersKey + 17.IBPluginDependency + 18.IBAttributePlaceholdersKey + 18.IBPluginDependency + 19.IBPluginDependency + 2.IBPluginDependency + 20.IBPluginDependency + 205.IBEditorWindowLastContentRect + 205.IBPluginDependency + 206.IBPluginDependency + 212.IBPluginDependency + 22.IBPluginDependency + 23.IBPluginDependency + 23.ImportedFromIB2 + 238.IBPluginDependency + 239.IBPluginDependency + 24.IBPluginDependency + 24.IBShouldRemoveOnLegacySave + 240.IBEditorWindowLastContentRect + 240.IBPluginDependency + 241.IBPluginDependency + 243.IBAttributePlaceholdersKey + 243.IBPluginDependency + 244.IBPluginDependency + 246.IBAttributePlaceholdersKey + 246.IBPluginDependency + 247.IBPluginDependency + 248.IBPluginDependency + 25.IBPluginDependency + 25.IBShouldRemoveOnLegacySave + 252.IBPluginDependency + 26.IBPluginDependency + 26.ImportedFromIB2 + 27.IBPluginDependency + 27.ImportedFromIB2 + + + YES + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{464, 452}, {500, 371}} + {{464, 452}, {500, 371}} + + {196, 240} + {{357, 418}, {480, 270}} + + {500, 371} + 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 + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + CMTextView + 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 + + ToolTip + + ToolTip + + Delete selected favorite + + + com.apple.InterfaceBuilder.CocoaPlugin + + ToolTip + + ToolTip + + Add favorite + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{693, 450}, {145, 73}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + com.brandonwalkin.BWToolkit + com.brandonwalkin.BWToolkit + com.apple.InterfaceBuilder.CocoaPlugin + + {{515, 394}, {134, 81}} + com.brandonwalkin.BWToolkit + com.brandonwalkin.BWToolkit + + ToolTip + + ToolTip + + Delete all records of selected table(s) + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + ToolTip + + ToolTip + + Rename the selected item + + + 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 + + + + + YES + + YES + + + YES + + + + + YES + + YES + + + YES + + + + 253 + + + + YES + + CMTextView + NSTextView + + showMySQLHelpForCurrentWord: + id + + + scrollView + NSScrollView + + + IBProjectSource + Source/CMTextView.h + + + + NSObject + + IBProjectSource + Frameworks/MCPKit/MCPFoundationKit/MCPConnection.h + + + + NSObject + + IBProjectSource + Frameworks/MCPKit/MCPFoundationKit/MCPNull.h + + + + NSObject + + IBProjectSource + Source/CMImageView.h + + + + NSObject + + IBProjectSource + Source/SPConnectionController.h + + + + NSObject + + IBProjectSource + Source/SPQueryFavoriteManager.h + + + + NSObject + + toggleCollapse: + id + + + IBProjectSource + Source/TablesList.h + + + + NSTextView + + YES + + YES + doDecomposedStringWithCanonicalMapping: + doDecomposedStringWithCompatibilityMapping: + doPrecomposedStringWithCanonicalMapping: + doPrecomposedStringWithCompatibilityMapping: + doRemoveDiacritics: + doSelectionLowerCase: + doSelectionTitleCase: + doSelectionUpperCase: + doTranspose: + insertNULLvalue: + selectCurrentLine: + selectCurrentWord: + selectEnclosingBrackets: + + + YES + id + id + id + id + id + id + id + id + id + id + id + id + id + + + + IBProjectSource + Source/SPTextViewAdditions.h + + + + NSWindow + + IBProjectSource + Source/SPWindowAdditions.h + + + + SPQueryFavoriteManager + NSWindowController + + YES + + YES + addQueryFavorite: + closeQueryManagerSheet: + copyQueryFavorite: + removeAllQueryFavorites: + removeQueryFavorite: + saveFavoriteToFile: + + + YES + id + id + id + id + id + id + + + + YES + + YES + delegate + encodingPopUp + favoriteNameTextField + favoriteQueryTextView + favoritesTableView + queryFavoritesController + + + YES + id + NSPopUpButton + NSTextField + NSTextView + NSTableView + NSArrayController + + + + + + + 0 + ../../sequel-pro.xcodeproj + 3 + + -- cgit v1.2.3