Quick Assist Processor

Identifier:
org.eclipse.jdt.ui.quickAssistProcessors

Since:
3.0

Description:
This extension point allows to add a Quick Assist processor to offer new Quick Assists in the Java editor. This extension point supports the <enablement> element. The default variable is the containing org.eclipse.jdt.core.ICompilationUnit.
Defined variables for <with> expressions are:

Configuration Markup:

<!ELEMENT extension (quickAssistProcessor+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT quickAssistProcessor (enablement?)>

<!ATTLIST quickAssistProcessor

id                  CDATA #REQUIRED

name                CDATA #IMPLIED

class               CDATA #IMPLIED

requiredSourceLevel CDATA #IMPLIED>


Examples:
The following is an example of a Quick Assist processor contribution:

 <extension point="org.eclipse.jdt.ui.quickAssistProcessors">
  <quickAssistProcessor
   id="AdvancedQuickAssistProcessor"
   name="Advanced Quick Assist Processor"
   requiredSourceLevel="1.5"  
   class="com.example.AdvancedQuickAssistProcessor">
  </quickAssistProcessor>
   <enablement>
      <with variable="projectNatures">
         <iterate operator="or">
            <equals value="org.eclipse.jdt.core.javanature"/>
         </iterate>
      </with>
   </enablement>
 </extension>

API Information:
The contributed class must implement org.eclipse.jdt.ui.text.java.IQuickAssistProcessor


Copyright (c) 2001, 2013 IBM Corporation and others.
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html/ SPDX-License-Identifier: EPL-2.0