Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Annotatioin Presentation Layer
Annotatioin Presentation Layer [message #330494] Wed, 30 July 2008 07:39 Go to next message
Nadav is currently offline NadavFriend
Messages: 29
Registered: July 2009
Junior Member
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 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
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
>
>
Previous Topic:Does Eclipse 3.3 TextEditor Support DnD ?
Next Topic:IPartListener lifecycle question
Goto Forum:
  


Current Time: Wed Jul 17 19:24:48 GMT 2024

Powered by FUDForum. Page generated in 0.03552 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top