Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Event handling + annotation
Event handling + annotation [message #505328] Tue, 29 December 2009 05:44 Go to next message
Eclipse UserFriend
Hi

I am adding some custom annotation to my document and then in the viewer drawing a line where annotation was inserted.

what I need is that when the user moves mouse over this line, I am able to receive that event and invoke some logic.

Is it possible to listen for some events on the drawn annotation e.g. mouse enter etc. Will I have to do this on the viewer / text widget ; or I can do this via annotation as well.

thanks a lot for the pointers
Re: Event handling + annotation [message #505870 is a reply to message #505328] Tue, 05 January 2010 02:38 Go to previous message
Eclipse UserFriend
neerahi wrote:
> Hi
>
> I am adding some custom annotation to my document and then in the
> viewer drawing a line where annotation was inserted.
>
> what I need is that when the user moves mouse over this line, I am
> able to receive that event and invoke some logic.
> Is it possible to listen for some events on the drawn annotation e.g.
> mouse enter etc. Will I have to do this on the viewer / text widget ;
> or I can do this via annotation as well.
Is this your own editor?

Dani
>
> thanks a lot for the pointers
Previous Topic:Restricting Classpath Entries to a Subset of Source Folders
Next Topic:Navigate history with mouse buttons
Goto Forum:
  


Current Time: Sat Mar 15 04:45:05 EDT 2025

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

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

Back to the top