[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: how to specify marker annotation preferences

Dani wrote

The extension applies to the text editor (and its sub classes) and hence
you have to open the text editors preference page (expand node Workbench
and then node Editor). The Java editor as a concrete instance currently
only allows the annotations shown in the list and cannot be extended via
XML.

Dani

"Zlatko Kostadinov" <zearendil@xxxxxxxxxxxx> wrote in message
news:b7lmo8$maj$1@xxxxxxxxxxxxxxxx
> Hi
>
> I created my own marker with it's own icon, but I cannot create some
> preferences for it.
> I tried adding this lines in plugin.xml:
>
> <extension
>
> point="org.eclipse.ui.workbench.texteditor.markerAnnotationSpecification">
>
> <specification
>
> annotationType="my.results"
>
> label="SimScan Marker Annotation"
>
> markerSeverity="2"
>
> markerType="my.mymarker"
>
> textPreferenceKey="myResultIndication"
>
> textPreferenceValue="true"
>
> overviewRulerPreferenceKey="myResultIndicationInOverviewRuler"
>
> overviewRulerPreferenceValue="true"
>
> colorPreferenceKey="myResultIndicationColor"
>
> colorPreferenceValue="220,220,255"
>
> contributesToHeader="true"
>
> presentationLayer="5">
>
> </specification>
>
> </extension>
>
> but nothing occures in the preference page for marker annotations
>
> Please give me some advice if you can!
> --
>
>
> Best Regards
> Zlatko
>
>