can now specify if menu action is to be performed by
authorca
Sat, 26 Oct 2002 17:46:13 +0200
changeset 1634 1dd4cd7ea43b
parent 1633 24748704c741
child 1635 116bf6f0ff62
can now specify if menu action is to be performed by originating widget (instead of application)
MenuEditor.st
--- a/MenuEditor.st	Fri Oct 25 13:12:25 2002 +0200
+++ b/MenuEditor.st	Sat Oct 26 17:46:13 2002 +0200
@@ -214,6 +214,7 @@
         auxValue
         activeHelpKey
         resourceRetriever
+        sendToOriginator
      )
 ! !
 
@@ -3361,7 +3362,7 @@
      the UIPainter may not be able to read the specification."
 
     "
-     UIPainter new openOnClass:MenuEditor::ItemAction andSelector:#basicsEditSpec
+     UIPainter new openOnClass:MenuEditor::ActionItem andSelector:#basicsEditSpec
     "
 
     <resource: #canvas>
@@ -3375,7 +3376,7 @@
           #name: 'basicsEditSpec'
           #min: #(#Point 10 10)
           #max: #(#Point 1160 870)
-          #bounds: #(#Rectangle 9 625 349 965)
+          #bounds: #(#Rectangle 42 67 382 407)
         )
         #component: 
        #(#SpecCollection
@@ -3555,7 +3556,7 @@
            #(#CheckBoxSpec
               #label: 'Translate Label'
               #name: 'translateLabelCheckBox'
-              #layout: #(#Point 20 213)
+              #layout: #(#AlignmentOrigin 7 0 213 0 0 0)
               #activeHelpKey: #basicsTranslateLabel
               #tabable: true
               #model: #translateLabel
@@ -3563,7 +3564,7 @@
            #(#CheckBoxSpec
               #label: 'Is Button'
               #name: 'isButtonCheckBox'
-              #layout: #(#Point 20 238)
+              #layout: #(#AlignmentOrigin 7 0 238 0 0 0)
               #activeHelpKey: #basicsIsButton
               #tabable: true
               #model: #isButton
@@ -3571,7 +3572,7 @@
            #(#CheckBoxSpec
               #label: 'Hide Menu after Activation'
               #name: 'hideMenuOnActivated'
-              #layout: #(#Point 20 263)
+              #layout: #(#AlignmentOrigin 7 0 263 0 0 0)
               #activeHelpKey: #hideMenuOnActivated
               #tabable: true
               #model: #hideMenuOnActivated
@@ -3579,7 +3580,7 @@
            #(#CheckBoxSpec
               #label: 'BusyCursor while Active'
               #name: 'showBusyCursorWhilePerforming'
-              #layout: #(#Point 20 288)
+              #layout: #(#AlignmentOrigin 7 0 288 0 0 0)
               #activeHelpKey: #showBusyCursorWhilePerforming
               #tabable: true
               #model: #showBusyCursorWhilePerforming
@@ -3588,13 +3589,22 @@
            #(#CheckBoxSpec
               #label: 'Trigger On Down'
               #name: 'triggerOnDown'
-              #layout: #(#Point 20 313)
+              #layout: #(#AlignmentOrigin 25 0.5 238 0 0 0)
               #activeHelpKey: #triggerOnDown
               #enableChannel: #hasNoDelayedMenuValue
               #tabable: true
               #model: #triggerOnDown
               #translateLabel: true
             )
+           #(#CheckBoxSpec
+              #label: 'Send To Originating Widget'
+              #name: 'sendToOriginator'
+              #layout: #(#AlignmentOrigin 7 0 313 0 0 0)
+              #activeHelpKey: #showBusyCursorWhilePerforming
+              #tabable: true
+              #model: #sendToOriginator
+              #translateLabel: true
+            )
            )
          
         )