|Calling a command in an headless RCP application [message #643916]
||Wed, 08 December 2010 11:58
Registered: December 2010
I have an RCP application that is supposed to use an Eclipse plug-in to modify the code of a project in the workspace. The plug-in defines commands and handlers.
The RCP application should be headless.
I have successfully been able to call the plug-in by using the handlers that it defines.
The problem is that is need to create a Workbench to be able to get the IHandlerService and execute the command. I am thus relying on org.eclipse.ui.*. I do not think that it's good but I do not find pointers to how I could call a command by relying only on org.eclipse.core.*.
Would you have any pointers on how I could achieve that?
Powered by FUDForum
. Page generated in 0.01957 seconds