I'm interested in this topic. I'm missing API documentation to master plugin development. I'm not sure javadoc can help, and reverse engineering didn't help much.
@guest, you can find sample plugin here http://www.tersus.com/#Id=186 together with instructions for setting up a development environment.
For best results, use the Firefox browser..