Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-dev] Question about how to start with my plugin

Hi, my name is MJ who just started to work with Eclipse and make a plugin.
 
I am making a plugin that does some actions when source codes are saved-and-compiled successfully. In other words, I have to hook up save-and-compile mechanism of Eclipse to my plugin.
 
For example, when a file is saved, then Eclipse will automatically compile the file. If the file is compiled successfully, then I have to do some actions(for instance, print some strings on a consol box by System.out.println) in a plugin. If not, do nothing.
 
Here are my questions:
1. Would it be possible to make such plugin that I described above in Eclipse?
2. If so, what kind of plugins that I have to use? For instance, View plugin or Editor plugin or Builder etc?
3. How would I catch the successful-compilation event? Could you tell me which plugins that I have to import and mothod names that I have to call?
 
Thank you very much.
 
MJ
 


Discover the new Windows Vista Learn more!

Back to the top