SmallSense__MethodSearchDialog.st
changeset 344 88d012c17762
parent 342 1d0f835b2d9d
child 346 88c1d211f9be
--- a/SmallSense__MethodSearchDialog.st	Thu Jun 19 11:33:05 2014 +0100
+++ b/SmallSense__MethodSearchDialog.st	Thu Jun 19 13:15:27 2014 +0100
@@ -74,6 +74,18 @@
 
 !MethodSearchDialog methodsFor:'change & update'!
 
+updateAcceptedValue
+    "Dialog has been accepted (OK pressed). Update accepted value"
+
+    matchingObjectsMultiselect ifTrue:[
+        acceptedValue := matchingObjectsSelectionHolder value collect:[:e|e selector].
+    ] ifFalse:[ 
+        acceptedValue := matchingObjectsSelectionHolder value selector.
+    ].
+
+    "Created: / 19-06-2014 / 12:00:02 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
 updateMatchingObjectsIgnorePattern
     "/ There's a lot of method, do not display them all but
     "/ rather display only recent selections.