[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Re: markerImageProviders extension point not working

Hi John,

Entered it as bug # 167347.

Regards,
Bruce

"John J. Barton" <johnjbarton@xxxxxxxxxxxxxxx> wrote in message 
news:elg606$7ge$1@xxxxxxxxxxxxxxxxxxxx
> Bruce, consider putting this information in to Bugzilla,
> https://bugs.eclipse.org so it can be tracked. I checked
> and the 3.2 documentation describes 
> org.eclipse.ui.ide.markerImageProviders
> and no bugs are reported against this extension point going away.
>
> John.
>
> Bruce Trask wrote:
>> Hi,
>>
>> Found a post that answered my question.
>>
>> http://dev.eclipse.org/newslists/news.eclipse.platform/msg26505.html
>>
>> Regards,
>> Bruce
>>
>> "Bruce Trask" <bruce.trask@xxxxxxxxxxxxx> wrote in message 
>> news:eld74c$hal$1@xxxxxxxxxxxxxxxxxxxx
>>> I have looked around a bit to see what might be happening and it looks 
>>> as if the markerImageProviders extension point is not processed by the 
>>> platform by default.
>>> MarkerImageProviderRegistry is never instantiated by the 
>>> IDEWorkbenchPlugin and if it is, the registry is not used by any other 
>>> frameworks.  Am I correct in saying that the markersImageProvider not 
>>> processed and/or used by the platform at this time?
>>>
>>> Regards,
>>> Bruce
>>>
>>> "Bruce Trask" <bruce.trask@xxxxxxxxxxxxx> wrote in message 
>>> news:el791k$9k4$1@xxxxxxxxxxxxxxxxxxxx
>>>> Hello I am using Eclipse 3.2 Callisto.
>>>>
>>>> I am coding up the example in the book "Contributing to Eclipse"
>>>>
>>>> Specifically:
>>>>   <extension
>>>>         id="failure"
>>>>         name="&quot;Test Failure&quot;"
>>>>         point="org.eclipse.core.resources.markers">
>>>>         <super type="org.eclipse.jdt.core.problem"/>
>>>>      <persistent value="true"/>
>>>>   </extension>
>>>>   <extension point="org.eclipse.ui.ide.markerImageProviders">
>>>>  <imageprovider markertype="org.eclipse.contribution.junit.failure"
>>>>       icon="icons/testerr.gif"
>>>>       id="org.contribution.junit">
>>>>  </extension>
>>>>
>>>> whereby I should be able to create a new icon in the vertical ruler for 
>>>> my marker.
>>>>
>>>> My new icon is not being used.  I have searched around and see that 
>>>> there might be some problems with the
>>>> markerImageProvider extension point.  Can someone confirm this or point 
>>>> out what I might be doing wrong?
>>>>
>>>> Thanks.
>>>>
>>>> Regards,
>>>> Bruce
>>>>
>>>
>>