开发者

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

开发者 https://www.devze.com 2022-12-19 07:30 出处:网络
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 cu

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

精彩评论

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