Spécification des annotations de marqueurs

org.eclipse.ui.editors.markerAnnotationSpecification

3.0 (nommé à l'origine org.eclipse.ui.workbench.texteditor.markerAnnotationSpecification)

Ce point d'extension sert à définir des propriétés de présentation pour les marqueurs. Les extensions fournies pour ce point d'extension sont accessibles via org.eclipse.ui.texteditor.MarkerAnnotationPreferences. Utilisez org.eclipse.ui.texteditor.AnnotationPreferenceLookup pour obtenir la préférence pour une annotation donnée.

Une extension est uniquement retournée de MarkerAnnotationPreferences.getAnnotationPreferences (et donc intégrées à la page de préférences) si elle comporte les quatre attributs ci-dessous outre celui annotationType requis :

Les types de préférences d'annotation qui étendent une autre préférence d'annotation sont autorisés à écraser des attributs déjà définis dans une spécification de préférence parent. Ils ne seront toutefois pas accessibles depuis la page de préférences.

<!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">