Add headless capability to existing eclipse plugin
I have an existing Eclipse plugin which run as a regular IDE plugin, receiving commands from the GUI and returning output in custom views. I want to add an ability to also be able to run that plugin in headless mode, with the input received from the command-line and the output going to some file. Is there some way of modifying the existing plugin to support that mode of execution in addition to the existing regular execution , or do I have to create a new headless plugin and just use code from the first one? It depends on how you plan to use this plugin and the main question: is there a case,