The Trunk: Morphic-mt.1709.mcz

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

The Trunk: Morphic-mt.1709.mcz

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

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

Name: Morphic-mt.1709
Author: mt
Time: 2 November 2020, 2:26:52.294816 pm
UUID: 0fd8180a-3b57-1b48-8292-3d6e2d45adc8
Ancestors: Morphic-mt.1708

Adds an is-check for the drag-and-drop helper TransferMorph, which is the check usually needed to discriminate between "has meta data" or "drop morph as is" in all kinds of tools and widgets.

=============== Diff against Morphic-mt.1708 ===============

Item was added:
+ ----- Method: Morph>>isTransferMorph (in category 'testing') -----
+ isTransferMorph
+
+ ^ false!

Item was changed:
  ----- Method: TextMorphForEditView>>wantsDroppedMorph:event: (in category 'dropping/grabbing') -----
  wantsDroppedMorph: aMorph event: evt
 
  ^ ((super wantsDroppedMorph: aMorph event: evt)
+ and: [aMorph isTransferMorph])
- and: [aMorph isKindOf: TransferMorph])
  and: [aMorph passenger isString or: [aMorph passenger isText]]!

Item was added:
+ ----- Method: TransferMorph>>isTransferMorph (in category 'testing') -----
+ isTransferMorph
+
+ ^ true!