标记注释规范

标识:org.eclipse.ui.workbench.texteditor.markerAnnotationSpecification

起始发行版:[输入此扩展点出现的第一个发行版。]

描述:此扩展点用来定义“缺省文本编辑器”中的显示标记属性。可以使用 org.eclipse.ui.texteditor.MarkerAnnotationPreferences 来访问为此扩展点提供的扩展。

配置标记:

   <!ELEMENT extension (specification)>

   <!ATTLIST extension
     point CDATA #REQUIRED
     id    CDATA #IMPLIED
     name  CDATA #IMPLIED
   >

   <!ELEMENT specification EMPTY>

   <!ATTLIST specification
     markerType                   CDATA #REQUIRED
     colorPreferenceKey           CDATA #REQUIRED
     overviewRulerPreferenceKey   CDATA #REQUIRED
     textPreferenceKey            CDATA #REQUIRED
     label                        CDATA #REQUIRED
     markerSeverity               (0|1|2)
     colorPreferenceValue         CDATA #IMPLIED
     presentationLayer            CDATA #IMPLIED
     overviewRulerPreferenceValue (true | false)
     textPreferenceValue          (true | false)
     annotationType               CDATA #REQUIRED
     contributesToHeader          (true | false)
   >

示例:[在此处输入扩展点用法示例。]

API 信息:[在此处输入 API 信息。]

所提供的实现:[输入有关此扩展点的提供的实现的信息。]

Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved.