markerResolution to add quick fixes has no effect [message #922162] |
Mon, 24 September 2012 16:02  |
Eclipse User |
|
|
|
Hello,
I want to mark code with an IMarker in my plugin and want to add quick fixes at the marked positions. The first thing works fine, but I`m not able to add quick fixes.
After an Internet Search I built my plugin.xml like this:
<extension id="testMarker"
name="BlaBla"
point="org.eclipse.core.resources.markers">
<persistent value="true"/>
<super type= "org.eclipse.core.resources.problemmarker"/>
</extension>
<extension point="org.eclipse.ui.ide.markerResolution">
<markerResolutionGenerator
class="org.bla.plugin.code.MyMarkerResolutionGenerator"
markerType="org.bla.plugin.testMarker"/>
</extension>
The class MyMarkerResolutionGenerator must implement the interface IMarkerResolutionGenerator2
My eclipse version 3.7.2 did not include this interface. So I downloaded the org.eclipse.ui.ide_3.7.0.I20110519-0100.jar.
After that I could write the MyMarkerResolutionGenerator.java. But in the plugin this has no effect. The MyMarkerResolutionGenerator will not be called. None of my breakpoints have an effect.
Does anyone know where my problem is?
Thank you!
|
|
|
|
Powered by
FUDForum. Page generated in 0.04151 seconds