[squeak-dev] The Trunk: Tools-mt.1178.mcz
commits at source.squeak.org
commits at source.squeak.org
Fri Oct 28 08:36:50 UTC 2022
Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-mt.1178.mcz
==================== Summary ====================
Name: Tools-mt.1178
Author: mt
Time: 28 October 2022, 10:36:49.704861 am
UUID: a4ba71f3-057a-3f4e-9b06-58aa9d8a8960
Ancestors: Tools-ct.1177
Add a drag-transfer type to inspector fields to allow for custom drop actions such as into the world.
=============== Diff against Tools-ct.1177 ===============
Item was changed:
----- Method: Inspector>>buildFieldListWith: (in category 'toolbuilder') -----
buildFieldListWith: builder
^ builder pluggableListSpec new
model: self;
list: #fieldList;
getIndex: #selectionIndex;
setIndex: #selectionIndex:;
autoDeselect: true;
menu: #fieldListMenu:shifted:;
dragItem: #dragFromFieldList:;
+ dragType: #dragTypeInFieldListAt:;
dropItem: #dropOnFieldList:at:shouldCopy:;
keyPress: #inspectorKey:from:;
yourself!
Item was added:
+ ----- Method: Inspector>>dragTypeInFieldListAt: (in category 'fields - drag and drop') -----
+ dragTypeInFieldListAt: index
+
+ ^ #inspectorField!
More information about the Squeak-dev
mailing list
|