How can I open a java class programatically
I'm developing a Mule ESB debugger plugin for mule, I have the full qualified name of a class and I want to open the editor. Is there any way I can do it?
Also is there any javadoc for open api? Is there any catalog of UI widgetes? I want to make my plugin looks like Intellij and not a swing patch embeded into a plugin.
Thanks
Mariano
Please sign in to leave a comment.
Obtaining PsiClass via Java classname: com.intellij.psi.JavaPsiFacade#findClass()
Opening editor for PSI: com.intellij.util.OpenSourceUtil#navigate()
JavaDoc is embedded in OpenAPI and not published separately, you can obtain sources from www.jetbrains.org
A good starting point for plugin authors is http://confluence.jetbrains.net/display/IDEADEV/PluginDevelopment