マーカー注釈仕様

org.eclipse.ui.editors.markerAnnotationSpecification

3.0 (以前は org.eclipse.ui.workbench.texteditor.markerAnnotationSpecification)

この拡張ポイントは、マーカーの表示プロパティーを定義する場合に使用します。 この拡張ポイントに対して提供される拡張には、org.eclipse.ui.texteditor.MarkerAnnotationPreferences を使用してアクセスできます。 org.eclipse.ui.texteditor.AnnotationPreferenceLookup を使用して、特定の注釈の注釈設定を取得します。

必須の annotationType 以外に以下の 4 つの属性が拡張に含まれている場合にのみ、 拡張は MarkerAnnotationPreferences.getAnnotationPreferences から戻されることに注意してください (その後、設定ページに 組み込まれます)。

別の注釈設定を拡張する注釈設定タイプは、親設定仕様で既に定義されている属性を上書きすることができます。 ただし、これらのタイプには設定ページからアクセスできません。

<!ELEMENT extension (specification)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT specification EMPTY>

<!ATTLIST specification

annotationType                         CDATA #REQUIRED

colorPreferenceKey                     CDATA #IMPLIED

overviewRulerPreferenceKey             CDATA #IMPLIED

verticalRulerPreferenceKey             CDATA #IMPLIED

textPreferenceKey                      CDATA #IMPLIED

label                                  CDATA #IMPLIED

highlightPreferenceKey                 CDATA #IMPLIED

colorPreferenceValue                   CDATA #IMPLIED

presentationLayer                      CDATA #IMPLIED

overviewRulerPreferenceValue           (true | false)

verticalRulerPreferenceValue           (true | false)

textPreferenceValue                    (true | false)

highlightPreferenceValue               (true | false)

contributesToHeader                    (true | false)

showInNextPrevDropdownToolbarActionKey CDATA #IMPLIED

showInNextPrevDropdownToolbarAction    (true | false)

isGoToNextNavigationTargetKey          CDATA #IMPLIED

isGoToNextNavigationTarget             (true | false)

isGoToPreviousNavigationTargetKey      CDATA #IMPLIED

isGoToPreviousNavigationTarget         (true | false)

icon                                   CDATA #IMPLIED

symbolicIcon                           (error|warning|info|task|bookmark)

annotationImageProvider                CDATA #IMPLIED

textStylePreferenceKey                 CDATA #IMPLIED

textStylePreferenceValue               (SQUIGGLES|BOX|UNDERLINE|IBEAM|NONE)

includeOnPreferencePage                (true | false) "true">