Can we convert any java program to an eclipse plugin?

I want to write a plugin that monitors updates in a text file and stores them in a separate file.

Should I first write a simple java program that does this and then try to convert it to a plugin?

+2


source to share


2 answers


I would suggest starting writing a plugin. Eclipse has its own view of the file system. You can save a lot of work and hassle by using this API directly. And the result will be much better integrated into eclipse.



You can start reading about the API here: http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/resInt.htm

+2


source


To a great extent. It's just a matter of adapting to the set of APIs laid out for plugin development. If you are developing your program in a modular way, going from standalone to plugin shouldn't be too difficult.



+1


source







All Articles