<enablement>
element.
The default variable is the containing org.eclipse.jdt.core.ICompilationUnit
.
<with>
expressions are:
org.eclipse.jdt.core.ICompilationUnit
; the compilation unit the quick assist is applied on (same as the default variable)java.util.Collection<String>
; all project natures of the current projectjava.lang.String
; the source compliance level of the current project
<!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>
<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>
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