handledMarkerTypes
since 3.2.
Since 3.2 an extension can specify which problem marker types it can handle. It will only get problems of these types to process. If no handled marker type are specified, the processor will only get problems of types org.eclipse.wst.jsdt.core.problem, org.eclipse.wst.jsdt.core.buildpath_problem and org.eclipse.wst.jsdt.core.task (compatible to the behaviour prior to 3.2).
This extension point supports the enablement
tag. Properties to test on are:
<!ELEMENT extension (quickFixProcessor+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT quickFixProcessor (enablement? , handledMarkerTypes*)>
<!ATTLIST quickFixProcessor
id CDATA #REQUIRED
name CDATA #IMPLIED
class CDATA #REQUIRED
requiredSourceLevel CDATA #IMPLIED>
<!ELEMENT handledMarkerTypes (markerType+)>
Specifies the marker types of the problems this quick fix processor can handle. If no handled marker type are specified, the processor will get problems of types org.eclipse.wst.jsdt.core.problem, org.eclipse.wst.jsdt.core.buildpath_problem and org.eclipse.wst.jsdt.core.task.
<!ELEMENT markerType EMPTY>
<!ATTLIST markerType
id CDATA #REQUIRED>
<extension point="org.eclipse.wst.jsdt.ui.quickFixProcessors"> <quickFixProcessor id="AdvancedQuickFixProcessor" name="Advanced Quick Fix Processor" requiredSourceLevel="1.5" class="com.example.AdvancedQuickFixProcessor"> <handledMarkerTypes> <markerType id="org.eclipse.myplugin.audits"/> </handledMarkerTypes> <enablement> <with variable="projectNatures"> <iterate operator="or"> <equals value="org.eclipse.wst.jsdt.core.javanature"/> </iterate> </with> </enablement> </quickFixProcessor> </extension>
org.eclipse.wst.jsdt.ui.text.java.IQuickFixProcessor
Copyright (c) 2007 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/