Status: New Owner: ---- Labels: Type-Defect Priority-Medium
New issue 872 by benjamin...@gmail.com: Roassal refactor RubberBand>>onDrop: http://code.google.com/p/moose-technology/issues/detail?id=872
ROExample>>rubberBandOn: currently has the line... rawView add: (newEdgeRaw + ROLine).
While this is fine in the ROExample script, in my application rawView was not available at that point, so instead I needed... newEdgeRaw from view add: (newEdgeRaw + ROLine).
For a while I confused myself by trying to use... newEdgeRaw view add: (newEdgeRaw + ROLine).
but that was not the same view, since the ROEdge created in the sender had a random default.
So I now think it is more clear to not create the ROEdge in the sender, but instead pass the fromElement and toElement and let the user create the ROEdge themselves. I think this is conceptually clearer.
See the two methods in the attached changeset.
Attachments: RubberBand-20121125.1.cs 2.4 KB