Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Overrite "Show Tooltip Description (F2)" in CDT editors
Overrite "Show Tooltip Description (F2)" in CDT editors [message #333703] Wed, 24 December 2008 09:59
Eclipse UserFriend
Originally posted by: denizstij.hotmail.com

Hi,

We have developed a hover plug-in similar to "Show Tooltip Description (F2)" functionality for C++ source editor (with cdt). It works fine with mouse hovering. Similar to eclipse jdt, we able to show C++ API in a custom swt pop-up browser, when an API is hovered with mouse (by implementing ICEditorTextHover, ITextHoverExtension, ITextHoverExtension2 interfaces).

In addition hovering, we would like to assign a keyword for this plug-in similar to eclipse jdt. I mean, when we press F2 key on an API, we would like to our custom swt pop-up browser is shown, likewise hovering by mouse .

At the moment, when we press F2, default eclipse pop-up browser is shown with only "null" content (i think it is cos it is C++ editor)

I would like to override default eclipse F2 behaviour with our new plug-in.

I tried some standard way of overrding actions (ITextEditorActionDefinitionIds.SHOW_INFORMATION), commands and key bindings, but i could not get anywhere.

Anybody can give me a starting point or refer a resource?

Many thanks in advance.

Deniz
Previous Topic:Preference Page
Next Topic:How to configure "Web Service runtime" JBossWS instead of Apache Axis?
Goto Forum:
  


Current Time: Fri Apr 26 21:35:37 GMT 2024

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

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

Back to the top