简体   繁体   English

如何以编程方式添加Eclipse任务标签(Eclipse插件开发)?

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

I am developing an Eclipse Plugin. 我正在开发一个Eclipse插件。 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 (让我们说DOTHIS)后来,我想在我的自定义taskView中列出标有DOTHIS标签的行

I know that it is done using the Eclipse UI from Project > Properties > Java Compiler > Task Tags > New. 我知道它是使用Project> Properties> Java Compiler> Task Tags> New中的Eclipse UI完成的。 and then in the task view by Configure Contents but how can i do these arranegments within the plugin? 然后在配置内容的任务视图中,但我如何在插件中执行这些arranegments?

Thanks in advance. 提前致谢。

从'org.eclipse.jdt.ui'UI检查'org.eclipse.jdt.internal.ui.preferences.TodoTaskPreferencePage'和'org.eclipse.jdt.internal.ui.preferences.TodoTaskConfigurationBlock.updateModel(DialogField)'的代码插入。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM