开发者

Writing an Eclipse plug-in to import existing documentation into JavaDoc comments

I would like to write an Eclipse plug-in that is able to import existing documentation into JavaDoc comments of existing Java code.

Background: I've generated Java code to communicate with an third party (native) program. Now I would like to import the documentation of the third party program into my generated code.

What I've already done: I have developed an Eclipse "QuickAssist" by implementing "IJavaCompletionProposalComputer" that does the trick already for a single Java method or static field.

Now I would like to write 开发者_Go百科a plug-in that triggers my implementation for every method or field within some selected source code.

I'm not so familiar with the Eclipse SDK. Can someone give me a hint where to start or which interface(s) I need to implement to archive this?

Thanks in advance.


There is a site focused on this subject: Eclipse Plugin Site.

There you can find a brief tutorial on how to create a new plugin project, and how to test it.

There's also documentation on SWT, and on the different kinds of components wich can be included on your plugin (Perspectives, Views, Editors, Properties, Actions, Builders, etc), and how to implement them.

Good luck.


You could traverse the Java Object Model, and during the traversal you could apply your code. See the tutorial of vogella.de for the basics - I think, you could adapt it to use your code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜