Hola,
in part of the code of LRP I work with arrows, and I need to get the shape, but this triggers a DNU. I guess I need to set something on the arrow before I can get the element, or get it via another route. What should I do?
Relevant code below:
arrow := RTArrowedLine new
		color: trans color;
		edgeFrom: efrom to: eto;
		withOffsetIfMultiple.
element := arrow element.
Gives me:
RTElement(Object)>>doesNotUnderstand: #to
RTShorterDistanceWithOffsetAttachPoint(RTAbstractShorterDistanceAttachPoint)>>basicStartingPointOf:
RTShorterDistanceWithOffsetAttachPoint>>basicStartingPointOf:
RTShorterDistanceWithOffsetAttachPoint(RTAttachPoint)>>startingPointOf:
RTLine(RTAbstractLine)>>updateFor:trachelShape:
RTLine(RTShape)>>trachelShapeFor:
RTArrowedLine>>trachelShapeFor:
RTElement(RTShapedObject)>>addShape:
RTArrowedLine(RTShape)>>element
LRPProgramVisualization>>buildTransition:withElements:forView:
---> Save our in-boxes! 
http://emailcharter.org <---
Johan Fabry   -   
http://pleiad.cl/~jfabryPLEIAD and RyCh labs  -  Computer Science Department (DCC)  -  University of Chile
_______________________________________________
Moose-dev mailing list
Moose-dev@list.inf.unibe.chhttps://www.list.inf.unibe.ch/listinfo/moose-dev