Hi,
As Lukas says, Morphs do not scale when you have thousands of them. Drag and drop did work at some point. It's just that Jorge and me started a larger refactoring that was supposed to improve the model but stopped at midway because of some low level problems.
I will synchronize tomorrow with Alex and we will see what we can do.
Cheers, Doru
On Feb 2, 2009, at 8:37 PM, Lukas Renggli wrote:
I was wondering why you did not use morphs for mondrian since I have the impression that for drag and drop alex is reinventing the morph event dispatch loop.
I don't know exactly the current situation, but when I last worked on Mondrian for Squeak it had drag and drop. These were a couple of lines of code built on top of the basic mouse events. Essentially this is the same as when you implement drag and drop in the HTML DOM tree.
Morphic is way too slow, way to wasteful with memory and too platform dependent for something like Mondrian. One of the reasons why the original Mondrian is not portable, is because it is tightly connected with the graphic system of VisualWorks.
Lukas
-- Lukas Renggli http://www.lukas-renggli.ch _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Be rather willing to give than demanding to get."