can i invoke "goto declaration" from plugin code?

I'm writing an RMI exporer plugin (nearly finished) and when i have listed the methods of a remote interface, i'd like to be able to provide the "goto declaration" (Ctrl+B) functionality of Idea.
Is it possible to call that, so that the editor opens the code and positions on that method?

A second clue would be if I could invoke quickhelp-javadoc (like Ctrol-Q) when I have the method on the interface.

thanks for the help - it's the first plugin I write and i have little experiance in GUI programming.

-claude

1 comment

Claude

>i'd like to be able to provide the "goto declaration" (Ctrl+B) functionality of Idea.

>

Look at the miniWiki plugin code.
http://www.intellij.org/twiki/bin/view/Main/MiniWikiPlugin
, it does just that.

The other actions ids can be found in the actionManager.xml file, that's
located in the resource.jar file.


Alain

0

Please sign in to leave a comment.