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


Daniel Megert wrote:
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

C'mon that's silly. Anything listed in Programmers Plugin Developer Guide->Reference -> Extension Points Reference is API: what other definition can we have? And anyway the entry for org.eclipse.ui.ide.markerImageProviders Version: 3.2.0 Build id: M20060629-1905 says


API Information: [Enter API information here.]

Supplied Implementation: [Enter information about supplied implementation of this extension point.]




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