The Trunk: ToolBuilder-Kernel-mt.77.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: ToolBuilder-Kernel-mt.77.mcz

commits-2
Marcel Taeumel uploaded a new version of ToolBuilder-Kernel to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Kernel-mt.77.mcz

==================== Summary ====================

Name: ToolBuilder-Kernel-mt.77
Author: mt
Time: 14 April 2015, 5:11:14.532 pm
UUID: ea748059-159e-c341-b3f1-6cc025c53148
Ancestors: ToolBuilder-Kernel-mt.76

Added possibility to choose multiple items from a list of items.

=============== Diff against ToolBuilder-Kernel-mt.76 ===============

Item was added:
+ ----- Method: UIManager>>chooseMultipleFrom: (in category 'ui requests') -----
+ chooseMultipleFrom: aList
+ "Choose one or more items from the given list. Answer the indices of the selected items."
+
+ ^ self chooseMultipleFrom: aList lines: #()!

Item was added:
+ ----- Method: UIManager>>chooseMultipleFrom:lines: (in category 'ui requests') -----
+ chooseMultipleFrom: aList lines: linesArray
+ "Choose one or more items from the given list. Answer the indices of the selected items."
+
+ ^ self chooseMultipleFrom: aList lines: linesArray title: ''!

Item was added:
+ ----- Method: UIManager>>chooseMultipleFrom:lines:title: (in category 'ui requests') -----
+ chooseMultipleFrom: aList lines: linesArray title: aString
+ "Choose one or more items from the given list. Answer the indices of the selected items."
+
+ ^ (self chooseFrom: aList lines: linesArray title: aString) in: [:result |
+ result = 0 ifTrue: [#()] ifFalse: [{result}]]!

Item was added:
+ ----- Method: UIManager>>chooseMultipleFrom:title: (in category 'ui requests') -----
+ chooseMultipleFrom: aList title: aString
+ "Choose one or more items from the given list. Answer the indices of the selected items."
+
+ ^self chooseMultipleFrom: aList lines: #() title: aString!

Item was added:
+ ----- Method: UIManager>>chooseMultipleFrom:values: (in category 'ui requests') -----
+ chooseMultipleFrom: labelList values: valueList
+ "Choose one or more items from the given list. Answer the selected items."
+
+ ^ self chooseMultipleFrom: labelList values: valueList lines: #()!

Item was added:
+ ----- Method: UIManager>>chooseMultipleFrom:values:lines: (in category 'ui requests') -----
+ chooseMultipleFrom: labelList values: valueList lines: linesArray
+ "Choose one or more items from the given list. Answer the selected items."
+
+ ^ self chooseMultipleFrom: labelList values: valueList lines: linesArray title: ''!

Item was added:
+ ----- Method: UIManager>>chooseMultipleFrom:values:lines:title: (in category 'ui requests') -----
+ chooseMultipleFrom: labelList values: valueList lines: linesArray title: aString
+ "Choose one or more items from the given list. Answer the selected items."
+
+ ^ (self chooseFrom: labelList values: valueList lines: linesArray title: aString)
+ ifNil: [#()]
+ ifNotNil: [:resultValue | {resultValue}]!

Item was added:
+ ----- Method: UIManager>>chooseMultipleFrom:values:title: (in category 'ui requests') -----
+ chooseMultipleFrom: labelList values: valueList title: aString
+ "Choose one or more items from the given list. Answer the selected items."
+
+ ^ self chooseMultipleFrom: labelList values: valueList lines: #() title: aString!