Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » how can workbench catch the mouse move
how can workbench catch the mouse move [message #438466] Fri, 25 June 2004 00:56 Go to next message
Eclipse UserFriend
Originally posted by: naficbm.1net.gr

hello, i want to know ,
how workbench know the mouse from one place to another place.
for example, i have a perspective which
has one view and one editot.
when i click mouse right key in the view. it will pop
a pop menu, then i will move my mouse to the editor,
i click mouse left key, the pop mouse in the view will
close.
I do not know ,how the eclipse realize this function.
i want to know which listnere can do it,how to used this
listener.
thank your answer.
Re: how can workbench catch the mouse move [message #438994 is a reply to message #438466] Mon, 05 July 2004 18:57 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
See
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/snippits/snippet40.html
for an example of popup menu management across multiple widgets. All you
have to do is create the menus and the rest is taken care of for you.

Grant

"mastiff_cm" <naficbm@1net.gr> wrote in message
news:cbft7f$1os$1@eclipse.org...
> hello, i want to know ,
> how workbench know the mouse from one place to another place.
> for example, i have a perspective which
> has one view and one editot.
> when i click mouse right key in the view. it will pop
> a pop menu, then i will move my mouse to the editor,
> i click mouse left key, the pop mouse in the view will
> close.
> I do not know ,how the eclipse realize this function.
> i want to know which listnere can do it,how to used this
> listener.
> thank your answer.
Previous Topic:table column headers in flat look?
Next Topic:JFace Action runWithEvent(Event event)
Goto Forum:
  


Current Time: Fri Apr 26 13:44:31 GMT 2024

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

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

Back to the top