[squeak-dev] The Trunk: ToolBuilder-Kernel-ct.133.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Oct 7 06:21:05 UTC 2019


Marcel Taeumel uploaded a new version of ToolBuilder-Kernel to project The Trunk:
http://source.squeak.org/trunk/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!



More information about the Squeak-dev mailing list