[squeak-dev] The Trunk: ToolBuilder-Kernel-ar.23.mcz

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

[squeak-dev] The Trunk: ToolBuilder-Kernel-ar.23.mcz

commits-2
Andreas Raab uploaded a new version of ToolBuilder-Kernel to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Kernel-ar.23.mcz

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

Name: ToolBuilder-Kernel-ar.23
Author: ar
Time: 5 October 2009, 11:31:13 am
UUID: be2fd63e-f920-4145-a355-3a4a01f07b17
Ancestors: ToolBuilder-Kernel-ar.22

PluggableMenuSpec>>addList: for convenience.

=============== Diff against ToolBuilder-Kernel-ar.22 ===============

Item was added:
+ ----- Method: PluggableMenuSpec>>addList: (in category 'construction') -----
+ addList: aList
+ "Add the given items to this menu, where each item is a pair (<string> <actionSelector>)..  If an element of the list is simply the symobl $-, add a line to the receiver.  The optional third element of each entry, if present, provides balloon help."
+
+ aList do: [:tuple |
+ (tuple == #-)
+ ifTrue: [self addSeparator]
+ ifFalse:[ | item |
+ item := self add: tuple first target: model selector: tuple second argumentList: #().
+ tuple size > 2 ifTrue:[item help: tuple third]]]!