Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » implement own "CTRL + Leftclick" feature
implement own "CTRL + Leftclick" feature [message #256719] Thu, 02 October 2008 16:27 Go to next message
Eclipse UserFriend
Hello out there,

all of you know the feature of the java editor where you can jump to the
declaration location of a variable by holding CTRL and then click left
mouse.

I do want to implement this in my own editor but after hours of searchin
google i still have no idea on how i can implement this.

Does anybody know what interfaces or classes are providing this feature
to the java editor. Or can someone give me some tips?

regards

Matthias
Re: implement own "CTRL + Leftclick" feature [message #256744 is a reply to message #256719] Fri, 03 October 2008 03:21 Go to previous message
Eclipse UserFriend
Matthias Kohles wrote:
> Hello out there,
>
> all of you know the feature of the java editor where you can jump to the
> declaration location of a variable by holding CTRL and then click left
> mouse.
>
> I do want to implement this in my own editor but after hours of searchin
> google i still have no idea on how i can implement this.
>
> Does anybody know what interfaces or classes are providing this feature
> to the java editor. Or can someone give me some tips?
Take a look at the following two extension points:
org.eclipse.ui.workbench.texteditor.hyperlinkDetectors
org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets

Dani
>
> regards
>
> Matthias
>
Previous Topic:Implementing interfaces for a compilation unit
Next Topic:Usage of ITypeHierarchy
Goto Forum:
  


Current Time: Sat Jul 26 15:19:46 EDT 2025

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

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

Back to the top