visual feedback during connection creation [message #153576] |
Mon, 11 October 2004 12:41 |
Eclipse User |
|
|
|
Originally posted by: jojo.virtutech.se
Hi!
I'm trying to implement a simple editor similar to the Shapes example, but
when I add connections between objects, the visual feedback only consists
of a static line drawn from 0,0 to, say 100,100 -- it doesn't move with the
mouse cursor. Apart from that, connections are created nicely, its just the
visual feedback which is broken.
I've tried looking around the source code to the shapes example, but I
can't find anything which looks like something I forgot to implement. Any
clues?
--
/Jesper
|
|
|
Re: visual feedback during connection creation [message #153596 is a reply to message #153576] |
Mon, 11 October 2004 15:20 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
You are not implementing the NodeEditPart interface completely.
"Jesper Eskilson" <jojo@virtutech.se> wrote in message
news:u67k6txig0r.fsf@morpheus.hq.vtech...
>
> Hi!
>
> I'm trying to implement a simple editor similar to the Shapes example, but
> when I add connections between objects, the visual feedback only consists
> of a static line drawn from 0,0 to, say 100,100 -- it doesn't move with
the
> mouse cursor. Apart from that, connections are created nicely, its just
the
> visual feedback which is broken.
>
> I've tried looking around the source code to the shapes example, but I
> can't find anything which looks like something I forgot to implement. Any
> clues?
>
> --
> /Jesper
|
|
|
|
Powered by
FUDForum. Page generated in 0.02762 seconds