[Bug] [Jacaranda] Problems with self-transitions

Ken Causey ken at kencausey.com
Sat Jan 25 18:18:55 UTC 2003


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 at 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
> >
> 



More information about the Squeak-dev mailing list