Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Strange problem with markers
Strange problem with markers [message #126858] Wed, 10 September 2003 19:57 Go to next message
Del Myers is currently offline Del MyersFriend
Messages: 69
Registered: July 2009
Member
Hi, I'm in the process of making some custom markers. I think I've done
everything right in my plugin xml, etc, and I know that my markers are being
created. (I know because the marker resource change event gets issued when I
create my marker) However, for some reason, Eclipse never finds my marker
when it is looking for subtypes (even of the base type MARKER!). The marker
that I am trying to create is ca.uvic.gild.markernotes.ui.marker.line. Is
there something wrong with my XML or something???? Please help.

Del.


<extension
id="ca.uvic.gild.markernotes.ui.marker"
name="ca.uvic.gild.markernotes.ui.marker"
point="org.eclipse.core.resources.markers">
<super
type="org.eclipse.core.resources.textmarker"/>
<super
type="org.eclipse.core.resources.taskmarker"/>
<persistent
value="true"/>
<attribute
name="score"/>
<attribute
name="name"/>
</extension>

<extension
id="ca.uvic.gild.markernotes.ui.marker.line"
name="ca.uvic.gild.markernotes.ui.marker.line"
point="org.eclipse.core.resources.markers">
<super
type="ca.uvic.gild.markernotes.ui.marker"/>
<persistent
value="true"/>
</extension>
Re: Strange problem with markers [message #126888 is a reply to message #126858] Wed, 10 September 2003 20:09 Go to previous message
Del Myers is currently offline Del MyersFriend
Messages: 69
Registered: July 2009
Member
Nevermind

I did some digging and found that the id of the marker is supposed to be
simple, and
when we create the markers, we are supposed to use an id that is plugin-id +
marker-id. That isn't really intuitive, but I'll have to remember it.


"Del" <delmyers@cs.uvic.ca> wrote in message
news:bjnv0v$d4g$1@eclipse.org...
> Hi, I'm in the process of making some custom markers. I think I've done
> everything right in my plugin xml, etc, and I know that my markers are
being
> created. (I know because the marker resource change event gets issued when
I
> create my marker) However, for some reason, Eclipse never finds my marker
> when it is looking for subtypes (even of the base type MARKER!). The
marker
> that I am trying to create is ca.uvic.gild.markernotes.ui.marker.line. Is
> there something wrong with my XML or something???? Please help.
>
> Del.
>
>
> <extension
> id="ca.uvic.gild.markernotes.ui.marker"
> name="ca.uvic.gild.markernotes.ui.marker"
> point="org.eclipse.core.resources.markers">
> <super
> type="org.eclipse.core.resources.textmarker"/>
> <super
> type="org.eclipse.core.resources.taskmarker"/>
> <persistent
> value="true"/>
> <attribute
> name="score"/>
> <attribute
> name="name"/>
> </extension>
>
> <extension
> id="ca.uvic.gild.markernotes.ui.marker.line"
> name="ca.uvic.gild.markernotes.ui.marker.line"
> point="org.eclipse.core.resources.markers">
> <super
> type="ca.uvic.gild.markernotes.ui.marker"/>
> <persistent
> value="true"/>
> </extension>
>
>
Previous Topic:Tools for filtering and remove trailing spaces
Next Topic:Out of memory errors when debugging
Goto Forum:
  


Current Time: Sat Jul 27 18:15:58 GMT 2024

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

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

Back to the top