From f219c58d00762c43f22e12055feb85b158249095 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Mon, 29 Nov 2010 08:38:07 +0000 Subject: =?UTF-8?q?=E2=80=A2=20Bundle=20Editor=20-=20added=20Trigger=20pop?= =?UTF-8?q?up=20menu=20to=20the=20GUI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Interfaces/English.lproj/BundleEditor.xib | 340 +++++++++++++++++++++++++++--- Source/SPBundleEditorController.h | 2 + Source/SPBundleEditorController.m | 5 + 3 files changed, 312 insertions(+), 35 deletions(-) diff --git a/Interfaces/English.lproj/BundleEditor.xib b/Interfaces/English.lproj/BundleEditor.xib index 63f643cc..fa9d9776 100644 --- a/Interfaces/English.lproj/BundleEditor.xib +++ b/Interfaces/English.lproj/BundleEditor.xib @@ -407,10 +407,86 @@ 4370 YES + + + 268 + {{17, 16}, {167, 22}} + + YES + + -2076049856 + 133120 + + + 109199615 + 129 + + + 400 + 75 + + + None + + 2147483647 + 1 + + + _popUpItemAction: + + + YES + + OtherViews + + YES + + + + Database Changed + + 1048576 + 2147483647 + + + _popUpItemAction: + + + + + Table Changed + + 1048576 + 2147483647 + + + _popUpItemAction: + + + + + Table Row Changed + + 1048576 + 2147483647 + + + _popUpItemAction: + + + + + + 1 + YES + YES + 2 + + 268 - {{17, 268}, {167, 14}} + {{17, 280}, {167, 14}} YES @@ -431,7 +507,7 @@ 268 - {{236, 320}, {167, 14}} + {{236, 332}, {167, 14}} YES @@ -447,7 +523,7 @@ 268 - {{17, 320}, {167, 14}} + {{17, 332}, {167, 14}} YES @@ -496,7 +572,7 @@ public.url - {504, 149} + {504, 110} @@ -574,11 +650,11 @@ 6 {504, 1e+07} - {223, 133} + {223, 110} - {{1, 1}, {504, 156}} + {{1, 1}, {504, 133}} @@ -611,7 +687,7 @@ 0.94565218687057495 - {{20, 105}, {506, 158}} + {{20, 140}, {506, 135}} 530 @@ -622,7 +698,7 @@ 268 - {{239, 296}, {161, 19}} + {{239, 308}, {161, 19}} YES @@ -649,7 +725,7 @@ 268 - {{20, 296}, {161, 19}} + {{20, 308}, {161, 19}} YES @@ -666,7 +742,7 @@ 265 - {{428, 394}, {98, 17}} + {{440, 394}, {86, 17}} YES @@ -686,7 +762,7 @@ 268 - {{236, 318}, {292, 18}} + {{236, 330}, {292, 18}} YES @@ -746,7 +822,7 @@ public.url - {138, 92} + {138, 69} @@ -808,7 +884,7 @@ - {{1, 1}, {504, 210}} + {{1, 1}, {504, 187}} @@ -838,7 +914,7 @@ 0.94565218687057495 - {{20, 105}, {506, 212}} + {{20, 140}, {506, 189}} 562 @@ -849,7 +925,7 @@ 289 - {{435, 58}, {96, 28}} + {{435, 13}, {96, 28}} 1 YES @@ -870,7 +946,7 @@ 289 - {{435, 16}, {96, 28}} + {{309, 13}, {96, 28}} YES @@ -890,7 +966,7 @@ 292 - {{20, 20}, {161, 22}} + {{20, 55}, {161, 22}} YES @@ -912,7 +988,7 @@ 268 - {{236, 351}, {167, 22}} + {{236, 356}, {167, 22}} YES @@ -945,7 +1021,7 @@ 292 - {{17, 61}, {167, 22}} + {{17, 96}, {167, 22}} YES @@ -1011,7 +1087,7 @@ 268 - {{17, 351}, {167, 22}} + {{17, 356}, {167, 22}} YES @@ -1044,7 +1120,7 @@ 265 - {{504, 349}, {25, 25}} + {{504, 354}, {25, 25}} YES @@ -1064,7 +1140,7 @@ 268 - {{186, 355}, {48, 14}} + {{186, 360}, {48, 14}} YES @@ -1080,7 +1156,7 @@ 292 - {{204, 63}, {161, 19}} + {{239, 98}, {161, 19}} YES @@ -1095,10 +1171,42 @@ + + + 288 + {{17, 78}, {95, 14}} + + YES + + 68288064 + 4326400 + Key Equivalent: + + + + + + + + + 288 + {{17, 38}, {167, 14}} + + YES + + 68288064 + 4326400 + Trigger: + + + + + + 288 - {{17, 83}, {167, 14}} + {{17, 118}, {167, 14}} YES @@ -1114,7 +1222,7 @@ 292 - {{201, 83}, {167, 14}} + {{236, 118}, {167, 14}} YES @@ -1146,7 +1254,7 @@ 268 - {{17, 320}, {167, 14}} + {{17, 332}, {167, 14}} YES @@ -1162,7 +1270,7 @@ 268 - {{17, 374}, {167, 14}} + {{17, 379}, {167, 14}} YES @@ -1178,7 +1286,7 @@ 292 - {{201, 43}, {167, 14}} + {{236, 78}, {167, 14}} YES @@ -1194,7 +1302,7 @@ 292 - {{204, 22}, {161, 19}} + {{239, 57}, {161, 19}} YES @@ -2119,6 +2227,22 @@ 1072 + + + triggerPopupButton + + + + 1086 + + + + triggerButtonChanged: + + + + 1087 + @@ -2379,10 +2503,7 @@ - - - @@ -2404,6 +2525,12 @@ + + + + + + Bundle Content View @@ -2875,6 +3002,84 @@ + + 1073 + + + YES + + + + + + 1074 + + + + + 1077 + + + YES + + + + + + 1078 + + + YES + + + + + + 1079 + + + YES + + + + + + + + + 1080 + + + + + 1081 + + + + + 1082 + + + + + 1083 + + + YES + + + + + + 1084 + + + + + 1085 + + + @@ -2882,6 +3087,7 @@ YES -3.IBPluginDependency + 1040.IBAttributePlaceholdersKey 1040.IBPluginDependency 1041.IBPluginDependency 1042.IBPluginDependency @@ -2898,6 +3104,20 @@ 1053.IBPluginDependency 1054.IBPluginDependency 1055.IBPluginDependency + 1073.IBAttributePlaceholdersKey + 1073.IBPluginDependency + 1074.IBPluginDependency + 1077.IBPluginDependency + 1078.IBPluginDependency + 1079.IBEditorWindowLastContentRect + 1079.IBPluginDependency + 1080.IBPluginDependency + 1081.IBPluginDependency + 1082.IBPluginDependency + 1083.IBAttributePlaceholdersKey + 1083.IBPluginDependency + 1084.IBPluginDependency + 1085.IBPluginDependency 521.IBEditorWindowLastContentRect 521.IBPluginDependency 521.IBWindowTemplateEditedContentRect @@ -3010,6 +3230,18 @@ YES com.apple.InterfaceBuilder.CocoaPlugin + + ToolTip + + ToolTip + + Show / Hide Meta Data input fields Author, Contact, and Description + + + 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 @@ -3022,13 +3254,37 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + ToolTip + + ToolTip + + Alphanumeric character string which inserts the favorite query string after expansion by pressing the ⇥ key. + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + {{360, 55}, {167, 71}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{211, 88}, {691, 444}} com.apple.InterfaceBuilder.CocoaPlugin - {{211, 88}, {691, 444}} + + ToolTip + + ToolTip + + Alphanumeric character string which inserts the favorite query string after expansion by pressing the ⇥ key. + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + {{172, 298}, {691, 444}} + com.apple.InterfaceBuilder.CocoaPlugin + {{172, 298}, {691, 444}} {691, 444} @@ -3263,7 +3519,7 @@ - 1072 + 1087 @@ -3420,6 +3676,7 @@ saveBundle: scopeButtonChanged: showHelp: + triggerButtonChanged: YES @@ -3436,6 +3693,7 @@ id id id + id @@ -3455,6 +3713,7 @@ saveBundle: scopeButtonChanged: showHelp: + triggerButtonChanged: YES @@ -3510,6 +3769,10 @@ showHelp: id + + triggerButtonChanged: + id + @@ -3547,6 +3810,7 @@ scopePopupButton showHideMetaButton tooltipTextField + triggerPopupButton YES @@ -3581,6 +3845,7 @@ NSPopUpButton NSButton NSTextField + NSPopUpButton @@ -3618,6 +3883,7 @@ scopePopupButton showHideMetaButton tooltipTextField + triggerPopupButton YES @@ -3745,6 +4011,10 @@ tooltipTextField NSTextField + + triggerPopupButton + NSPopUpButton + diff --git a/Source/SPBundleEditorController.h b/Source/SPBundleEditorController.h index 0d38b586..6656e9be 100644 --- a/Source/SPBundleEditorController.h +++ b/Source/SPBundleEditorController.h @@ -48,6 +48,7 @@ IBOutlet NSPopUpButton *inputFallbackPopupButton; IBOutlet NSPopUpButton *outputPopupButton; IBOutlet NSPopUpButton *scopePopupButton; + IBOutlet NSPopUpButton *triggerPopupButton; IBOutlet NSButton *removeButton; IBOutlet NSButton *addButton; IBOutlet NSButton *saveButton; @@ -101,6 +102,7 @@ - (IBAction)inputFallbackPopupButtonChanged:(id)sender; - (IBAction)outputPopupButtonChanged:(id)sender; - (IBAction)scopeButtonChanged:(id)sender; +- (IBAction)triggerButtonChanged:(id)sender; - (IBAction)duplicateCommandBundle:(id)sender; - (IBAction)addCommandBundle:(id)sender; - (IBAction)removeCommandBundle:(id)sender; diff --git a/Source/SPBundleEditorController.m b/Source/SPBundleEditorController.m index 71f036e4..648ae836 100644 --- a/Source/SPBundleEditorController.m +++ b/Source/SPBundleEditorController.m @@ -385,6 +385,11 @@ } +- (IBAction)triggerButtonChanged:(id)sender +{ + +} + /** * Duplicate the selected bundle (processed in addCommandBundle:) */ -- cgit v1.2.3