<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Hi Chris, <br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
for custom projects such as Maui, you should change the world's drop handler to fit your needs. It is very easy and avoids any conflict. Of course you can replicate some of the standard features if you want. For example, I did this for Vivide to open custom
 tools.<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
See PasteUpMorph >> #transferMorphConverter:<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Just call it with a selector when Maui starts.<span id="ms-outlook-android-cursor"></span><br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Best, <br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Marcel<br>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> on behalf of Chris Muller <asqueaker@gmail.com><br>
<b>Sent:</b> Wednesday, April 28, 2021 9:03:34 PM<br>
<b>To:</b> The general-purpose Squeak developers list <squeak-dev@lists.squeakfoundation.org><br>
<b>Subject:</b> Re: [squeak-dev] The Trunk: Tools-mt.1029.mcz</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">If I understand this correctly, it'll probably conflict with Maui's<br>
equivalent gesture, and only for the equivalent of dragging a splitter<br>
bar all the way up to the top..?  (really, is it just substituting<br>
that one DnD operation for another?)  Except it opens a new window,<br>
too (which I'll have to later close?).  Maybe I'm missing something,<br>
but it seems heavy and laborious for only what it does.  Hopefully the<br>
hook can be customized..<br>
<br>
<br>
On Thu, Mar 4, 2021 at 8:47 AM Marcel Taeumel <marcel.taeumel@hpi.de> wrote:<br>
><br>
> Here is an example:<br>
><br>
><br>
> Am 04.03.2021 15:38:47 schrieb commits@source.squeak.org <commits@source.squeak.org>:<br>
><br>
> Marcel Taeumel uploaded a new version of Tools to project The Trunk:<br>
> <a href="http://source.squeak.org/trunk/Tools-mt.1029.mcz">http://source.squeak.org/trunk/Tools-mt.1029.mcz</a><br>
><br>
> ==================== Summary ====================<br>
><br>
> Name: Tools-mt.1029<br>
> Author: mt<br>
> Time: 4 March 2021, 3:38:36.350661 pm<br>
> UUID: bef0c471-6ff1-774d-860e-8958e1aa508b<br>
> Ancestors: Tools-mt.1028<br>
><br>
> Enable source-code dragging through a browser's message list to be dropped into the world to open a compact code editor.<br>
><br>
> Complements Tools-mt.1028, ToolBuilder-Kernel-mt.139, ToolBuilder-Morphic-mt.274, and Morphic-mt.1733.<br>
><br>
> =============== Diff against Tools-mt.1028 ===============<br>
><br>
> Item was changed:<br>
> ----- Method: Browser>>buildMessageListWith: (in category 'toolbuilder') -----<br>
> buildMessageListWith: builder<br>
> | listSpec |<br>
> listSpec := builder pluggableListSpec new.<br>
> listSpec<br>
> model: self;<br>
> list: #messageList;<br>
> getIndex: #messageListIndex;<br>
> setIndex: #messageListIndex:;<br>
> icon: #messageIconAt:;<br>
> helpItem: #messageHelpAt:;<br>
> menu: #messageListMenu:shifted:;<br>
> keyPress: #messageListKey:from:.<br>
> + SystemBrowser browseWithDragNDrop ifTrue: [<br>
> + listSpec<br>
> + dragItem: #dragFromMessageList:;<br>
> + dragType: #dragTypeForMessageListAt:].<br>
> - SystemBrowser browseWithDragNDrop<br>
> - ifTrue:[listSpec dragItem: #dragFromMessageList:].<br>
> ^listSpec<br>
> !<br>
><br>
> Item was added:<br>
> + ----- Method: Browser>>dragTypeForMessageListAt: (in category 'drag and drop') -----<br>
> + dragTypeForMessageListAt: index<br>
> +<br>
> + ^ #sourceCode!<br>
><br>
><br>
><br>
<br>
</div>
</span></font></div>
</body>
</html>