The Trunk: ToolBuilder-Kernel-mt.139.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.139.mcz

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

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

Name: ToolBuilder-Kernel-mt.139
Author: mt
Time: 4 March 2021, 3:25:37.860661 pm
UUID: a8f8f119-901d-0045-b619-a7d25e0530ef
Ancestors: ToolBuilder-Kernel-mt.138

Makes the transfer type for drag-and-drop configurable.

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

Item was changed:
  PluggableWidgetSpec subclass: #PluggableListSpec
+ instanceVariableNames: 'list getIndex setIndex getSelected setSelected menu keyPress autoDeselect dragItem dragType dropItem dropAccept doubleClick listSize listItem keystrokePreview icon vScrollBarPolicy hScrollBarPolicy dragStarted helpItem filterableList clearFilterAutomatically itemAlignment itemPadding'
- instanceVariableNames: 'list getIndex setIndex getSelected setSelected menu keyPress autoDeselect dragItem dropItem dropAccept doubleClick listSize listItem keystrokePreview icon vScrollBarPolicy hScrollBarPolicy dragStarted helpItem filterableList clearFilterAutomatically itemAlignment itemPadding'
  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!

Item was added:
+ ----- Method: PluggableListSpec>>dragType (in category 'accessing - drag and drop') -----
+ dragType
+ "Answer the selector to determine the type that can be used configure the drop."
+
+ ^ dragType!

Item was added:
+ ----- Method: PluggableListSpec>>dragType: (in category 'accessing - drag and drop') -----
+ dragType: aSymbol
+ "Answer the selector to determine the type that can be used configure the drop."
+
+ dragType := aSymbol.!