[Pkg] The Trunk: ToolBuilder-Kernel-jcg.24.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Dec 12 18:53:05 UTC 2009


Joshua Gargus uploaded a new version of ToolBuilder-Kernel to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Kernel-jcg.24.mcz

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

Name: ToolBuilder-Kernel-jcg.24
Author: jcg
Time: 12 December 2009, 10:53:03 am
UUID: af05980f-4ce2-419d-9aa7-95ea2b66406a
Ancestors: ToolBuilder-Kernel-ar.23

Add PluggableListSpec support for double-click.

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

Item was added:
+ ----- Method: PluggableListSpec>>doubleClick: (in category 'accessing') -----
+ doubleClick: aSymbol
+ 	"Set the selector to perform when a double-click occurs"
+ 	doubleClick := aSymbol.!

Item was added:
+ ----- Method: PluggableListSpec>>doubleClick (in category 'accessing') -----
+ doubleClick
+ 	"Answer the selector to perform when a double-click occurs"
+ 	^doubleClick!

Item was changed:
  PluggableWidgetSpec subclass: #PluggableListSpec
+ 	instanceVariableNames: 'list getIndex setIndex getSelected setSelected menu keyPress autoDeselect dragItem dropItem dropAccept doubleClick'
- 	instanceVariableNames: 'list getIndex setIndex getSelected setSelected menu keyPress autoDeselect dragItem dropItem dropAccept'
  	classVariableNames: ''
  	poolDictionaries: ''
  	category: 'ToolBuilder-Kernel'!
  
  !PluggableListSpec commentStamp: 'ar 7/15/2005 11:54' prior: 0!
  A single selection list element.
  
  Instance variables:
  	list		<Symbol>	The selector to retrieve the list elements.
  	getIndex	<Symbol>	The selector to retrieve the list selection index.
  	setIndex	<Symbol>	The selector to set the list selection index.
  	getSelected	<Symbol>	The selector to retrieve the list selection.
  	setSelected	<Symbol>	The selector to set the list selection.
  	menu	<Symbol>	The selector to offer (to retrieve?) the context menu.
  	keyPress <Symbol>	The selector to invoke for handling keyboard shortcuts.
  	autoDeselect	<Boolean>	Whether the list should allow automatic deselection or not.
  	dragItem	<Symbol>	Selector to initiate a drag action on an item
  	dropItem	<Symbol>	Selector to initiate a drop action of an item
  	dropAccept	<Symbol>	Selector to determine whether a drop would be accepted!



More information about the Packages mailing list