Especificação de Anotação do Marcador

org.eclipse.ui.editors.markerAnnotationSpecification

3.0 (originalmente designado por org.eclipse.ui.workbench.texteditor.markerAnnotationSpecification)

Este ponto de extensão é utilizado para definir as propriedades de apresentação para os marcadores. É possível aceder às extensões fornecidas por este ponto de extensão utilizando org.eclipse.ui.texteditor.MarkerAnnotationPreferences. Utilize org.eclipse.ui.texteditor.AnnotationPreferenceLookup para obter a preferência de anotação para uma determinada anotação.

Note que uma extensão será apenas devolvida a partir de MarkerAnnotationPreferences.getAnnotationPreferences (e será assim incluída na página das preferências), se contiver os quatro atributos seguintes além do annotationType obrigatório:

Os tipos de preferências de anotação que expandem outra preferência da anotação têm permissão para substituir os atributos que já estão definidos numa especificação de preferência ascendente, mas não será possível aceder aos mesmos a partir da página de preferências.

<!ELEMENT extension (specification)>

<!ATTLIST extention

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

quickFixIcon                           CDATA #IMPLIED

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

annotationImageProvider                CDATA #IMPLIED

textStylePreferenceKey                 CDATA #IMPLIED

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

includeOnPreferencePage                (true | false) "true">