Calling a IDE specific command.
Hi All,
Can I execute any IDE specific command? I mean, can I execute synchronize command? I can get the action object from ActionManager using ID from IdeActions. Just calling action.actionPerformed(new AnActionEvent()) work?
Thanks
Devang Shah
请先登录再写评论。
Hello Devang,
If you're interested in Synchronize specifically, you don't need to call
it through the action system. Just use VirtualFileManager.refresh().
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Hi,
Synchronize is just an example. What about others ?
Thanks
Devang Shah
Hello Devang,
See http://intellij.net/forums/thread.jspa?threadID=268927&tstart=0
And also http://www.jetbrains.net/confluence/display/IDEADEV/PluginDevelopmentFAQ
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"