The Inbox: ToolBuilder-Kernel-ct.133.mcz

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

The Inbox: ToolBuilder-Kernel-ct.133.mcz

commits-2
A new version of ToolBuilder-Kernel was added to project The Inbox:
http://source.squeak.org/inbox/ToolBuilder-Kernel-ct.133.mcz

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

Name: ToolBuilder-Kernel-ct.133
Author: ct
Time: 3 October 2019, 3:17:02.612083 am
UUID: b78b93ff-594c-b943-869f-f1af5a1180d3
Ancestors: ToolBuilder-Kernel-mt.132

Adds convenience method for choosing from a dictionary

UIManager default chooseFromLabeledValues: ((1 to: 10) collect: [:i | i asWords -> i] as: Dictionary)

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

Item was added:
+ ----- Method: UIManager>>chooseFromLabeledValues: (in category 'ui requests') -----
+ chooseFromLabeledValues: aDictionary
+ "Choose a key from the given dictionary. Answer the corresponding value."
+ ^self chooseFromLabeledValues: aDictionary title: ''!

Item was added:
+ ----- Method: UIManager>>chooseFromLabeledValues:title: (in category 'ui requests') -----
+ chooseFromLabeledValues: aDictionary title: aString
+ "Choose a key from the given dictionary. Answer the corresponding value."
+ ^self chooseFrom: aDictionary keys values: aDictionary values title: aString!