Hi, I am subscribed to the list in daily digest mode so I didn't see Ned message after I answered yours first.
Regarding Ned's answer, I'm not sure why a PasteUpMorph isn't the appropiate choice.
Ned, Would you explain me why you think it's not? What I wanted for a container was a morph who would accept others morphs on drag&drop. The PasteUpMorph gridding capabilities added to the decision also. Thanks.
Regards, Hernán
-----Mensaje original----- De: Ken Causey [mailto:ken@kencausey.com] Enviado el: Sábado, 25 de Enero de 2003 15:19 Para: The general-purpose Squeak developers list CC: ned@bike-nomad.com; Hernan Tylim Asunto: RE: [Bug] [Jacaranda] Problems with self-transitions
Did you see this message from Ned:?
"Yeah, the container in Jacaranda should probably be a PasteUpMorph instead of just a Morph.
-- Ned Konz http://bike-nomad.com GPG key ID: BEEA7EFE"
On Sat, 2003-01-25 at 08:25, Hernan Tylim wrote:
Hi, I am only guessing right now but my guess is that when the
connectors is
trying to compute the points to make the curly it might use a
global point
for reference (the mouse event point for example) without a #globalToLocalPoint: translation to obtain a point in the diagram pasteUpMorph coordinate system.
Ned, would you point me where in your NCConnectorMorph code
is this curly
connectors logic, so I can check it? Thanks
regards, Hernán
-----Mensaje original----- De: Ken Causey [mailto:ken@kencausey.com] Enviado el: Viernes, 24 de Enero de 2003 16:29 Para: Squeak Devel List CC: Hernan Tylim Asunto: [Bug] [Jacaranda] Problems with self-transitions
There's a problem when you try to connect a connector to the same item it originates from in a Jacaranda Diagram. This is the sort of thing you might do in a state diagram to indicate a self-transition. The connector ends up pointing more or less at infinity in some seemingly random direction. Oddly if I just grab the item (say a state) out of the Jacaranda diagram and drop it in the world I can create a self-transition just fine. Drag the state back in, edit the self-transition connector a little bit and it's OK.
Ken