changed:
authorClaus Gittinger <cg@exept.de>
Wed, 28 Jul 2010 11:57:28 +0200
changeset 2853 3c021208873a
parent 2852 9d0ad50e4335
child 2854 d37c539b59ad
changed: #actionFor: #actionFor:withValue: use MessageSend instead of block
ApplicationModel.st
--- a/ApplicationModel.st	Tue Jul 27 16:39:46 2010 +0200
+++ b/ApplicationModel.st	Wed Jul 28 11:57:28 2010 +0200
@@ -1259,7 +1259,10 @@
         ].
     ].
 
-    ^ [self perform:aKey]   "/ could use:  MessageSend receiver:self selector:aKey 
+    ^ MessageSend receiver:self selector:aKey
+    "/ ^ [self perform:aKey]   "/ could use:  MessageSend receiver:self selector:aKey
+
+    "Modified: / 28-07-2010 / 11:56:49 / cg"
 !
 
 actionFor:aKey withValue:aValue
@@ -1279,7 +1282,11 @@
             ^ masterApplication actionFor:aKey withValue:aValue
         ].
     ].
-    ^ [self perform:aKey with:aValue]
+
+    ^ MessageSend receiver:self selector:aKey argument:aValue
+    "/ ^ [self perform:aKey with:aValue]
+
+    "Modified: / 28-07-2010 / 11:56:42 / cg"
 !
 
 actionFor:aKey withValue:value1 withValue:value2
@@ -3744,11 +3751,11 @@
 !ApplicationModel class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/ApplicationModel.st,v 1.306 2010-07-25 08:41:14 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/ApplicationModel.st,v 1.307 2010-07-28 09:57:28 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libview2/ApplicationModel.st,v 1.306 2010-07-25 08:41:14 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/ApplicationModel.st,v 1.307 2010-07-28 09:57:28 cg Exp $'
 ! !
 
 ApplicationModel initialize!