Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How can I get different SWT.button in the MouseDown event and mouseUp Event respectively?
How can I get different SWT.button in the MouseDown event and mouseUp Event respectively? [message #459599] Fri, 12 August 2005 05:38 Go to next message
augur is currently offline augurFriend
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 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
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-)
>
>
Previous Topic:Checkbox image
Next Topic:SWT Example for 3.2 M1 not up todate
Goto Forum:
  


Current Time: Sat Apr 17 09:44:55 GMT 2021

Powered by FUDForum. Page generated in 0.01584 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top