Annotatioin Presentation Layer [message #330494] |
Wed, 30 July 2008 07:39  |
Eclipse User |
|
|
|
I want to set the presentation layer of an annotation which is part of my
plugin. (via the org.eclipse.ui.editor.markerAnnotationSpecification
extension point) It had been set at 0 but it would sometimes be
overwritten by the first line of context shading in the java editor ruler.
I found that setting it to 1 solves this current problem, but I'm
wondering, are there any guidelines/conventions as to what value to make
the presentation layer of you're plugin's annotations? I have not been
successful at finding any discussion on the topic.
|
|
|
Re: Annotatioin Presentation Layer [message #330682 is a reply to message #330494] |
Fri, 08 August 2008 12:17  |
Eclipse User |
|
|
|
Nadav wrote:
> I want to set the presentation layer of an annotation which is part of my
> plugin. (via the org.eclipse.ui.editor.markerAnnotationSpecification
> extension point) It had been set at 0 but it would sometimes be
> overwritten by the first line of context shading in the java editor
> ruler.
>
> I found that setting it to 1 solves this current problem, but I'm
> wondering, are there any guidelines/conventions as to what value to make
> the presentation layer of you're plugin's annotations? I have not been
> successful at finding any discussion on the topic.
This is not exactly specified. Basically the higher the number the
bigger the chance that it isn't hidden by another annotation with a
higher value. I'd look at existing annotation specs and see where yours
fits in. 0 shouldn't be used as you already found out.
Dani
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03999 seconds