Drawing error while creating a new Connection [message #167725] |
Thu, 10 February 2005 09:34  |
Eclipse User |
|
|
|
Originally posted by: daniel.luebke.inf.uni-hannover.de
Hi,
I'm just learning GEF development and took the Shapes example in order
to learn it and did a prototype for a business process language tool.
However, if I create a new connection and clicked on the source, a line
is being displayed from (0,0) to approx. (200,200). However, there is no
connection preview when I move the mouse to possible targets. After
choosing the target, the spurious line disappears and the connection is
drawn as expected.
I searched in the sources for the Shapes and Workflow examples but I
cannot find my mistake, although I'm pretty sure that this is a very
minor (= stupid) one.
Has anyone an idea or can drop me a link to a solution?
Thanks in advance
Daniel Lübke
|
|
|
|
|
Re: Drawing error while creating a new Connection [message #167858 is a reply to message #167821] |
Fri, 11 February 2005 11:54  |
Eclipse User |
|
|
|
Originally posted by: Lamont_Gilbert.rigidsoftware.com
Daniel Luebke wrote:
> Randy Hudson wrote:
>
>> This is a result of not implementing half of the NodeEditPart interface.
>
>
> It was result of implementing the NodeEditPart interface for the wrong
> EditPart... As a said, stupid one :-)
>
> Thanks for the answer!
>
> Daniel Lübke
Yes, I have made this mistake or some kind of similar mistake when I
started with nodes.
CL
|
|
|
Powered by
FUDForum. Page generated in 0.04004 seconds