From c1ce60f948e79c6d4dfbaee0f4ccea56888a9be2 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 16 Mar 2010 15:38:50 +0000 Subject: =?UTF-8?q?=E2=80=A2=20added=20help=20button=20to=20Query=20Favori?= =?UTF-8?q?tes=20Editor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Interfaces/English.lproj/QueryFavoriteManager.xib | 241 ++++++++++++++++++++-- Source/SPQueryFavoriteManager.h | 1 + Source/SPQueryFavoriteManager.m | 5 + 3 files changed, 225 insertions(+), 22 deletions(-) diff --git a/Interfaces/English.lproj/QueryFavoriteManager.xib b/Interfaces/English.lproj/QueryFavoriteManager.xib index 61f0c4b0..60f07b5e 100644 --- a/Interfaces/English.lproj/QueryFavoriteManager.xib +++ b/Interfaces/English.lproj/QueryFavoriteManager.xib @@ -16,12 +16,11 @@ YES 740 - 1.2.2 + 1.2.5 YES - YES @@ -51,13 +50,13 @@ 15 2 - {{593, 356}, {500, 371}} + {{593, 356}, {529, 371}} 813171712 Query Favorite Manager NSWindow {3.40282e+38, 3.40282e+38} - {500, 371} + {529, 371} 256 @@ -68,6 +67,7 @@ 4106 {{0, 358}, {500, 5}} + {0, 0} 67239424 @@ -117,6 +117,7 @@ 292 {{-1, -1}, {32, 25}} + YES 67239424 @@ -141,6 +142,7 @@ 292 {{30, -1}, {32, 25}} + YES 67239424 @@ -165,6 +167,7 @@ 292 {{61, -1}, {32, 24}} + YES 71433792 @@ -317,6 +320,7 @@ {209, 23} + YES YES NO @@ -337,12 +341,14 @@ 4370 {210, 322} + YES 4352 {210, 17} + @@ -350,6 +356,7 @@ -2147483392 {{198, 0}, {12, 17}} + YES @@ -475,6 +482,7 @@ {{0, 17}, {210, 322}} + @@ -485,6 +493,7 @@ -2147483392 {{198, 17}, {11, 322}} + 256 _doScroller: @@ -495,6 +504,7 @@ -2147483392 {{-100, -100}, {311, 15}} + 1 _doScroller: @@ -509,6 +519,7 @@ {210, 17} + @@ -518,6 +529,7 @@ {{0, 22}, {210, 339}} + 528 @@ -530,6 +542,7 @@ {209, 361} + NSView @@ -537,11 +550,33 @@ 4370 YES + + + 292 + {{17, 15}, {25, 25}} + + + YES + + 67239424 + 134348800 + + + + -2038415105 + 161 + + + 200 + 25 + + 292 - {{17, 15}, {117, 25}} + {{46, 15}, {117, 25}} + YES -2076049856 @@ -609,6 +644,28 @@ _popUpItemAction: + + + YES + Placeholder + + 2147483647 + + + _popUpItemAction: + + + + + 1 + Mirrored Tab Snippet + + 2147483647 + + + _popUpItemAction: + + YES @@ -788,8 +845,9 @@ 290 - {{92, 54}, {178, 19}} + {{92, 54}, {207, 19}} + YES -1804468671 @@ -812,6 +870,7 @@ 288 {{17, 57}, {70, 14}} + YES 68288064 @@ -833,6 +892,7 @@ 268 {{17, 330}, {45, 14}} + YES 68288064 @@ -847,8 +907,9 @@ 266 - {{56, 328}, {214, 19}} + {{56, 328}, {243, 19}} + YES -1804468671 @@ -898,8 +959,9 @@ public.url - {248, 14} + {277, 14} + @@ -916,7 +978,7 @@ - 248 + 277 1 @@ -972,8 +1034,9 @@ - {{1, 1}, {248, 236}} + {{1, 1}, {277, 236}} + @@ -988,6 +1051,7 @@ -2147483392 {{-100, -100}, {11, 133}} + 256 _doScroller: @@ -998,6 +1062,7 @@ -2147483392 {{-100, -100}, {87, 18}} + 1 _doScroller: @@ -1005,8 +1070,9 @@ 0.94565218687057495 - {{20, 82}, {250, 238}} + {{20, 82}, {279, 238}} + 530 @@ -1016,8 +1082,9 @@ 289 - {{205, 13}, {70, 28}} + {{234, 13}, {70, 28}} + 1 YES @@ -1042,8 +1109,9 @@ 289 - {{137, 13}, {70, 28}} + {{166, 13}, {70, 28}} + YES 67239424 @@ -1061,13 +1129,15 @@ - {{210, 0}, {290, 361}} + {{210, 0}, {319, 361}} + NSView - {500, 361} + {529, 361} + YES 2 SPQueryFavoriteSplitView @@ -1132,11 +1202,12 @@ NO - {500, 371} + {529, 371} + {{0, 0}, {1680, 1028}} - {500, 393} + {529, 393} {3.40282e+38, 3.40282e+38} SPQueryFavoriteManagerWindow @@ -1560,6 +1631,14 @@ 324 + + + showHelp: + + + + 344 + @@ -1674,6 +1753,7 @@ + @@ -2035,6 +2115,8 @@ + + @@ -2133,6 +2215,30 @@ + + 340 + + + + + 341 + + + + + 342 + + + YES + + + + + + 343 + + + @@ -2260,18 +2366,23 @@ 337.IBPluginDependency 338.IBPluginDependency 339.IBPluginDependency + 340.IBAttributePlaceholdersKey + 340.IBPluginDependency + 341.IBPluginDependency + 342.IBPluginDependency + 343.IBPluginDependency YES com.apple.InterfaceBuilder.CocoaPlugin - {{169, 352}, {500, 371}} + {{896, 352}, {529, 371}} com.apple.InterfaceBuilder.CocoaPlugin - {{169, 352}, {500, 371}} + {{896, 352}, {529, 371}} {196, 240} {{357, 418}, {480, 270}} - {500, 371} + {529, 371} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -2412,7 +2523,7 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{385, 66}, {336, 326}} + {{1141, 32}, {336, 360}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -2575,6 +2686,21 @@ c2VsZWN0ZWQgdGFibGUKCltvbmx5IGF2YWlsYWJsZSBpbnNpZGUgb2YgdGFiIHNuaXBwZXRzXQcom.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + ToolTip + + ToolTip + + JDEg4oCTIG1pcnJvcmVkIHRhYiBzbmlwcGV0IHdoaWNoIGlzIGEgcGxhY2Vob2xkZXIgZm9yIHRoZSBj +b250ZW50IG9mIHRhYiBzbmlwcGV0IOKAnDHigJ0KClvigJwx4oCdIGNhbiBiZSBhIG51bWJlciBmcm9t +IDAgdG8gMTggYW5kIGRlZmluZXMgdGhlIG9yZGVyIG9mIHRhYiBrZXkgZG93biBldmVudHNdCgpbbWF5 +IG5vdCBiZSB1c2VkIGluc2lkZSBvZiBhIHRhYiBzbmlwcGV0XeKAqA + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin @@ -2593,7 +2719,7 @@ c2VsZWN0ZWQgdGFibGUKCltvbmx5IGF2YWlsYWJsZSBpbnNpZGUgb2YgdGFiIHNuaXBwZXRzXQ - 339 + 344 @@ -2866,6 +2992,77 @@ c2VsZWN0ZWQgdGFibGUKCltvbmx5IGF2YWlsYWJsZSBpbnNpZGUgb2YgdGFiIHNuaXBwZXRzXQ + + YES + + NSObject + + IBDocumentRelativeSource + ../../Source/SPQueryFavoriteManager.h + + + + SPQueryFavoriteManager + NSWindowController + + YES + + YES + addQueryFavorite: + closeQueryManagerSheet: + duplicateQueryFavorite: + exportFavorites: + importFavoritesByAdding: + importFavoritesByReplacing: + insertPlaceholder: + removeAllQueryFavorites: + removeQueryFavorite: + saveFavoriteToFile: + showHelp: + + + YES + id + id + id + id + id + id + id + id + id + id + id + + + + YES + + YES + encodingPopUp + favoriteNameTextField + favoriteQueryTextView + favoriteTabTriggerTextField + favoritesArrayController + favoritesTableView + removeButton + splitViewButtonBar + + + YES + NSPopUpButton + NSTextField + CMTextView + NSTextField + NSArrayController + NSTableView + NSButton + BWAnchoredButtonBar + + + + + YES diff --git a/Source/SPQueryFavoriteManager.h b/Source/SPQueryFavoriteManager.h index 05e822dd..42ace9b0 100644 --- a/Source/SPQueryFavoriteManager.h +++ b/Source/SPQueryFavoriteManager.h @@ -71,5 +71,6 @@ - (IBAction)importFavoritesByReplacing:(id)sender; - (IBAction)closeQueryManagerSheet:(id)sender; - (IBAction)insertPlaceholder:(id)sender; +- (IBAction)showHelp:(id)sender; @end diff --git a/Source/SPQueryFavoriteManager.m b/Source/SPQueryFavoriteManager.m index 8014c8c5..9d30e597 100644 --- a/Source/SPQueryFavoriteManager.m +++ b/Source/SPQueryFavoriteManager.m @@ -390,6 +390,11 @@ } +- (IBAction)showHelp:(id)sender +{ + [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"http://www.sequelpro.com/docs/Query_Favorites"]]; +} + #pragma mark - #pragma mark SplitView delegate methods -- cgit v1.2.3