Re-using retargetable actions "org.eclipse.jdt.ui.edit.text.java.search.declarations.in.workspa [message #242974] |
Thu, 19 April 2007 05:42 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03301 seconds