markerImageProviders doesn't work since "ide" [message #195769] |
Mon, 16 February 2004 20:51  |
Eclipse User |
|
|
|
Hi,
I have been using the following code to specify the icon for my marker:
<extension
point="org.eclipse.ui.markerImageProviders">
<imageprovider
markertype="myplugin.mymarker"
icon="icons/myIcon.gif"
id="mymarker.imageProvider">
</imageprovider>
</extension>
It works fine until recently I started to use M6. I found the problem is
related to the added "ide" --> org.eclipse.ui.ide.markerImageProviders.
The reference said to specify the marker icon we need to use this new
extension point. However, changing the above to :
<extension point="org.eclipse.ui.ide.markerImageProviders">
still does not work. Anyone knows why? Any solution to this?
Thanks.
Tim
|
|
|
|
|
|
Re: markerImageProviders doesn't work since "ide" [message #198209 is a reply to message #196861] |
Thu, 19 February 2004 23:27  |
Eclipse User |
|
|
|
Daniel Megert wrote:
> Tim wrote:
> >Tom Eicher wrote:
> >
> >
> >
> >>Tim wrote:
> >>
> >>
> >>>I have been using the following code to specify the icon for my marker:
> >>>
> >>> <extension
> >>> point="org.eclipse.ui.markerImageProviders">
> >>> <imageprovider
> >>> markertype="myplugin.mymarker"
> >>> icon="icons/myIcon.gif"
> >>> id="mymarker.imageProvider">
> >>> </imageprovider>
> >>> </extension>
> >>>
> >>>It works fine until recently I started to use M6. I found the problem is
> >>>related to the added "ide" --> org.eclipse.ui.ide.markerImageProviders.
> >>>The reference said to specify the marker icon we need to use this new
> >>>extension point. However, changing the above to :
> >>>
> >>><extension point="org.eclipse.ui.ide.markerImageProviders">
> >>>
> >>>still does not work. Anyone knows why? Any solution to this?
> >>>
> >>>
> >
> >
> >
> >>The XML looks good to me - do you have the ui.ide plugin in your
> >>requires clause?
> >>
> >>
> >
> >
> >
> >>-tom
> >>
> >>
> >
> >
> >Hi Tom,
> >
> >Yes, in plugin.xml i have <import plugin="org.eclipse.ui.ide"/> in
> ><requires>.
> >Yet it doesn't work. The same code without "ide" runs fine in M3.
> >
> >
> What exactly is "it" i.e. where are you missing your icon?
> Dani
> >Tim
> >
> >
Hi,
With the code above, I can specify an icon for my own marker, which will
be displayed in the editor ruler when created. However, since M6, when the
extension point changed from org.eclipse.ui.markerImageProviders to
org.eclipse.ui.ide.markerImageProviders, this code does not work. I have
no idea what I did wrong. Any help would be appreciated.
Tim
|
|
|
Powered by
FUDForum. Page generated in 0.04102 seconds