Quick Fix Processor
Identifier:
org.eclipse.wst.sse.ui.quickFixProcessor
Since:
3.0
Description:
This extension point is used to associate a quick assist processor in Structured Text Editors with a specific "kind" of problem (a marker or annotation of a certain type or having certain attribute values).
Configuration Markup:
<!ELEMENT extension (quickFixProcessor*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance
<!ELEMENT quickFixProcessor (attribute*)>
<!ATTLIST quickFixProcessor
problemType CDATA #IMPLIED
class CDATA #REQUIRED>
- problemType - the problem type for which this quick fix processor applies to. To set the problem type for an annotation or marker, create a "problemType" attribute for the annotation/marker and set a value.
- class - the name of the class implementing IQuickAssistProcessor
<!ELEMENT attribute EMPTY>
<!ATTLIST attribute
name CDATA #IMPLIED
value CDATA #IMPLIED>
- name - the name of the attribute whose value is being specified.
- value - the specified value of the attribute.
Examples:
<extension point="org.eclipse.wst.sse.ui.quickFixProcessor">
<quickFixProcessor
class="org.eclipse.wst.sse.ui.examples.quickfixes.ExampleQuickAssistProcessor"
problemType="org.eclipse.wst.sse.ui.examples.quickfixes.problem">
<attribute name="anAttributeKey" value="attribute value"/>
</quickFixProcessor>
</extension>
API Information:
Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Copyright (c) 2008 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html