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

Hi Dan,

Thanks.  My Callisto release does not show internal in the extensoin point 
description but rather shows what John's release shows.  I think was is 
potentially misleading is the existence of the extension point and the 
description of  icon - "If there is no class defined the icon attribute is 
used to define the icon that will be applied to this type of marker." which 
seems to imply that this extension point can have force (that is changing 
the icon) without implementing 
org.eclipse.ui.internal.ide.IMarkerImageProvider.  As of 3.2 there is 
nothing the extension point does.  So, I believe the intention of this 
extension point needs to be more explicit so folks won't be led down the 
wrong path. No argument here just hoping to make things more clear.  Thanks 
for responding.

Regards,
Bruce

"Daniel Megert" <daniel_megert@xxxxxxxxxx> wrote in message 
news:eloe4b$8rb$1@xxxxxxxxxxxxxxxxxxxx
> Bruce Trask wrote:
>
>>Hi Daniel,
>>
>>Sorry, where is it marked/documented as internal?  I don't see it in the 
>>extension point description.
>>
> Near the bottom:
>
>
>            API Information:
>
> markerImageProvider is currently internal and should not be considered 
> API.
>
> Dani
>
>>Regards,
>>Bruce
>>
>>"Daniel Megert" <daniel_megert@xxxxxxxxxx> wrote in message 
>>news:ellvqf$thk$1@xxxxxxxxxxxxxxxxxxxx
>>
>>>Bruce Trask wrote:
>>>
>>>
>>>>Hi John,
>>>>
>>>>Entered it as bug # 167347.
>>>>
>>>>
>>>Please note that this extension point was always marked internal (and 
>>>still is).
>>>
>>>Dani
>>>
>>>
>>>>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
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>
>>
>>
>>