How can I get different SWT.button in the MouseDown event and mouseUp Event respectively? [message #459599] |
Fri, 12 August 2005 05:38 |
augur Messages: 25 Registered: July 2009 |
Junior Member |
|
|
What I want to do is adding a line between two
Nodes, which extends Canvas and implement
MouseActionLisener, so I wish get the start node
in node MouseDown event and get the end node in
node MouseUp event.
But in practice, I got the same node object in
either MouseDown or MouseUp event,
who can give me a way to relize it?
--
--
--
Thanks in Advance...
Augur, QunShun, ShangHai, China
____________________________________________________________ ______________
' If there is one, Knowledge is the "Fountain of
Youth"'
-William E. Taylor, Regular Guy (1952-)
|
|
|
Re: How can I get different SWT.button in the MouseDown event and mouseUp Event respectively? [message #460364 is a reply to message #459599] |
Wed, 24 August 2005 13:31 |
Steve Northover Messages: 1636 Registered: July 2009 |
Senior Member |
|
|
Node object? No such class in SWT. Do you want the GEF newsgroup?
"augur" <guanfeng@voipack.com> wrote in message
news:ddhcks$8ok$1@news.eclipse.org...
> What I want to do is adding a line between two
> Nodes, which extends Canvas and implement
> MouseActionLisener, so I wish get the start node
> in node MouseDown event and get the end node in
> node MouseUp event.
> But in practice, I got the same node object in
> either MouseDown or MouseUp event,
> who can give me a way to relize it?
>
> --
> --
>
> --
>
>
> Thanks in Advance...
> Augur, QunShun, ShangHai, China
> ____________________________________________________________ ______________
>
> ' If there is one, Knowledge is the "Fountain of
> Youth"'
> -William E. Taylor, Regular Guy (1952-)
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03205 seconds