[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[jdt-dev] Icons for custom markers
|
I'm trying to implement a new custom marker with following configuration
<extension
id="gap.eclipse.jdt.markers.recursive"
name="Method Recursion"
point="org.eclipse.core.resources.markers">
<super
type="org.eclipse.core.resources.textmarker">
</super>
</extension>
<extension
point="org.eclipse.ui.editors.annotationTypes">
<type
markerType="gap.eclipse.jdt.markers.recursive"
name="gap.eclipse.jdt.annotation.recursive">
</type>
</extension>
<extension
point="org.eclipse.ui.editors.markerAnnotationSpecification">
<specification
annotationType="gap.eclipse.jdt.annotation.recursive"
colorPreferenceKey="gap.eclipse.jdt.annotation.recursive.color"
colorPreferenceValue="50,6,62"
contributesToHeader="false"
highlightPreferenceKey="gap.eclipse.jdt.annotation.recursive.highlight"
highlightPreferenceValue="true"
icon="icons/view16/recursion.png"
isGoToNextNavigationTarget="false"
label="Recursion"
overviewRulerPreferenceKey="gap.eclipse.jdt.annotation.recursive.overviewruler"
overviewRulerPreferenceValue="true"
presentationLayer="0"
showInNextPrevDropdownToolbarAction="false"
textPreferenceKey="gap.eclipse.jdt.annotation.recursive.text"
textPreferenceValue="true"
textStylePreferenceKey="gap.eclipse.jdt.annotation.recursive.textStyle"
verticalRulerPreferenceKey="gap.eclipse.jdt.annotation.recursive.verticalruler"
verticalRulerPreferenceValue="false">
</specification>
</extension>
The highlighting works fine according to the specification. But the
icon is not shown in the vertical ruler. But the icon seems to be
loading fine since it is shown in the preference page for
TextEditor/Annotations.
I'm i missing anything here ?
Best regards,
Gayan.