Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Re-using retargetable actions "org.eclipse.jdt.ui.edit.text.java.search.declarations.in.workspa
Re-using retargetable actions "org.eclipse.jdt.ui.edit.text.java.search.declarations.in.workspa [message #242974] Thu, 19 April 2007 09:42
Eclipse UserFriend
Originally posted by: peter.friese.openarchitectureware.org

Hi,

I am writing a plug-in in which I'd like to provide a JDT-like
navigation. Currently, I am looking into how to provide a search feature
that behaves similar to the JDT search feature. I am especially
interested in the "Search in Workspace" feature.

Being a good monkey, I found out that there are some retargetable
actions I might re-use, e.g.
" org.eclipse.jdt.ui.edit.text.java.search.declarations.in.wor kspace "
(which is bound to CTRL-G) However, this means my plug-in will only be
able to offer CTRL-G if the JDT is available. So, re-using the
retargetable actions provided by JTD doesn't seem to be such a good idea.

However, if I go and define my own retargetable action (and menu
contributions, key bindings and all that stuff), I end up having a
duplicte entry "Declaration in Workspace" in the key binding preference
page.

What's the best practice in this case?

TIA,
Peter
Previous Topic:ITestRunListener vs. TestRunListener
Next Topic:Code insertion: AST vs. document view
Goto Forum:
  


Current Time: Wed Jul 17 01:33:25 GMT 2024

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

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

Back to the top