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/QueryFavoriteManager.xib | 1754 +++++++++++++++++++++ 1 file changed, 1754 insertions(+) create mode 100644 Interfaces/English.lproj/QueryFavoriteManager.xib (limited to 'Interfaces/English.lproj/QueryFavoriteManager.xib') 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