Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Contributing to ctrl+HOVER list in a plugin(how to add a custom contributor to the navigation hover box in a java editor)
Contributing to ctrl+HOVER list in a plugin [message #1693590] Sat, 25 April 2015 19:48
Eclipse UserFriend
Hello Eclipse gurus.

I was writing a plugin for my work and I need a ctrl+HOVER over certain methods to not open the method but instead open a resource (within the project) that this method returns.

I already am able to show a hover with the resource location (just a mouseover tooltip) using the org.eclipse.jdt.ui.javaEditorTextHovers and a org.eclipse.jdt.ui.text.java.hover.IJavaEditorTextHover, however this is not exactly what I want. I want to navigate to the resource I have discovered.

Navigation options are shown when a ctrl+hover happens. I have not been able to find info on how to contribute my navigation option to this type of hovers. Any ideas?
Previous Topic:ToolTip
Next Topic:Error in Eclipse Luna : Unable to create Preference page for Maven in Eclipse Luna
Goto Forum:
  


Current Time: Thu Apr 24 10:47:09 EDT 2025

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

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

Back to the top