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>


<!ELEMENT quickFixProcessor (attribute*)>

<!ATTLIST quickFixProcessor

problemType CDATA #IMPLIED

class       CDATA #REQUIRED>


<!ELEMENT attribute EMPTY>

<!ATTLIST attribute

name  CDATA #IMPLIED

value CDATA #IMPLIED>


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