what are the steps to track mouse event in GEF? [message #226718] |
Tue, 21 November 2006 07:04 |
Eclipse User |
|
|
|
Originally posted by: vikas.khengare.unaat-e.com
Hi
What are the steps to track mouse events using EditPolicy -->
Request --> Command way?
I want to track mouse click event on Figure & want to change color of Figure
when mouse will click.
Can some one tell me how to do that ?
--
With best regards
Vikas R. Khengare
Unnat-e Infotech
Empowering Progress
|
|
|
|
Re: what are the steps to track mouse event in GEF? [message #226761 is a reply to message #226748] |
Wed, 22 November 2006 08:38 |
Eclipse User |
|
|
|
Originally posted by: vikas.khengare.unaat-e.com
Hi Alex,
Thanks for your reply.
Yes, We can do that way also by attaching mouse listener to figure also.
Is there any way to handle this events by creating registering EditPolicy,
creating Request and Command?
Thanks once again.
--
With best regards
Vikas R. Khengare
Unnat-e Infotech
Empowering Progress
"Alex Boyko" <aboyko@ca.ibm.com> wrote in message
news:968880ba8304c5a96a5142c566d40385$1@www.eclipse.org...
> Hi Vikas,
>
> Within your edit policy you could install a MouseListener on the figure.
> This listener should allow you to catch mouse click events.
>
> Hope this helps.
>
> Cheers,
> Alex
>
|
|
|
Powered by
FUDForum. Page generated in 0.03628 seconds