开发者

How to add Eclipse Task Tags programmatically (Eclipse Plugin development)?

I am developing an Eclipse Plugin. I want to add my custom Task Tag programmatically within the plugin. (Lets say DOTHIS) Later, i开发者_高级运维 want to list the lines marked with DOTHIS tag in my custom taskView

I know that it is done using the Eclipse UI from Project > Properties > Java Compiler > Task Tags > New. and then in the task view by Configure Contents but how can i do these arranegments within the plugin?

Thanks in advance.


Check code of 'org.eclipse.jdt.internal.ui.preferences.TodoTaskPreferencePage' and 'org.eclipse.jdt.internal.ui.preferences.TodoTaskConfigurationBlock.updateModel(DialogField) ' from 'org.eclipse.jdt.ui' UI plugin.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜