Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » markerImageProviders doesn't work since "ide"
markerImageProviders doesn't work since "ide" [message #195769] Mon, 16 February 2004 20:51 Go to next message
Eclipse UserFriend
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 #195923 is a reply to message #195769] Tue, 17 February 2004 03:04 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: markerImageProviders doesn't work since "ide" [message #196620 is a reply to message #195923] Tue, 17 February 2004 18:20 Go to previous messageGo to next message
Eclipse UserFriend
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.

Tim
Re: markerImageProviders doesn't work since "ide" [message #196861 is a reply to message #196620] Wed, 18 February 2004 06:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

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
>
>
>
Re: markerImageProviders doesn't work since "ide" [message #198209 is a reply to message #196861] Thu, 19 February 2004 23:27 Go to previous message
Eclipse UserFriend
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
Previous Topic:Migrate RCP toolbar code from m5 to m7
Next Topic:M6: Sample preference page generation problem
Goto Forum:
  


Current Time: Thu May 08 05:47:01 EDT 2025

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

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

Back to the top