MenuEditor.st
changeset 2341 5e96eeacf346
parent 2337 ff5a37df2a9c
child 2345 abdefb8e2b52
--- a/MenuEditor.st	Mon May 19 21:16:56 2008 +0200
+++ b/MenuEditor.st	Tue May 20 17:27:52 2008 +0200
@@ -3428,15 +3428,9 @@
 addBindingsTo:aspects for:aMenuEditor
     "add additional bindings to the aspects
     "
-    aspects at:#notDelayedMenu ifAbsentPut:[
-	true asValue
-    ].
-    aspects at:#hasSubmenu ifAbsentPut:[
-	false asValue
-    ].
-    aspects at:#hasNoSubmenu ifAbsentPut:[
-	true asValue
-    ].
+    aspects at:#notDelayedMenu ifAbsentPut:[true asValue].
+    aspects at:#hasSubmenu ifAbsentPut:[false asValue].
+    aspects at:#hasNoSubmenu ifAbsentPut:[true asValue].
 ! !
 
 !MenuEditor::Item class methodsFor:'testing'!
@@ -4039,20 +4033,21 @@
 addBindingsTo:aspects for:aMenuEditor
     "add additional bindings to the aspects
     "
-    aspects at:#indicationEnabled  ifAbsentPut:[
-	BlockValue with:[:a | a size == 0 ] argument:(aspects at:#choice)
-    ].
-
-    aspects at:#choiceEnabled ifAbsentPut:[
-	BlockValue with:[:a | a size == 0 ] argument:(aspects at:#indication)
-    ].
-
-    aspects at:#choiceValueEnabled ifAbsentPut:[
-	BlockValue with:[:a | a size ~~ 0 ] argument:(aspects at:#choice)
-    ].
-    aspects at:#hasNoDelayedMenuValue ifAbsentPut:[
-	true asValue
-    ].
+    aspects 
+        at:#indicationEnabled  
+        ifAbsentPut:[ BlockValue with:[:a | a size == 0 ] argument:(aspects at:#choice)].
+
+    aspects 
+        at:#choiceEnabled 
+        ifAbsentPut:[ BlockValue with:[:a | a size == 0 ] argument:(aspects at:#indication)].
+
+    aspects 
+        at:#choiceValueEnabled 
+        ifAbsentPut:[ BlockValue with:[:a | a size ~~ 0 ] argument:(aspects at:#choice)].
+
+    aspects 
+        at:#hasNoDelayedMenuValue 
+        ifAbsentPut:[true asValue].
 ! !
 
 !MenuEditor::ActionItem methodsFor:'accessing'!