Load Slice 10407, because without it, no easy way to define your own TransferMorphYou can have a look at the code attached, it defined a simple Spec UI (you can easily find the Morphic part in it),�and a subclass of TransferMorph creating a from the draggedItem to the mouse.This Morph is usable in a fully Morphic UI, so it may interest you :)(it's a pro to, so the code is not documented, sorry)
BenOn Apr 25, 2013, at 5:14 PM, Zeeshan Ansari <zeeshan.k.ansari@gmail.com> wrote:I have looked into that but I'm trying to do something a lot more simpler. This is basically for a school project and I'm trying to learn the Morphic framework.
On Thu, Apr 25, 2013 at 8:51 AM, Luc Fabresse <luc.fabresse@gmail.com> wrote:Hi,�Carla did the SmallUML GSoc in 2010.�She also provided a MinimalConnector library to do this IIRC.�Maybe it is what you are looking for.
Luc
#Luc2013/4/25 Zeeshan Ansari <zeeshan.k.ansari@gmail.com>Hi All,
I want to connect two morphs with a line for a UML editor application I'm working on. I want to show the line being created as the user moves the mouse from the source morph to the target morph. Once the mouse is over the target morph and the mouse released, the line should be created.Can someone explain how I would go about doing this. Which events would I need to capture, etc.
Thanks.