enablement
tag. Properties to test on are:
<!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.cdt.ui.quickAssistProcessors"> <quickAssistProcessor id="AdvancedQuickAssistProcessor" name="Advanced Quick Assist Processor" class="com.example.AdvancedQuickAssistProcessor"> </quickAssistProcessor> <enablement> <with variable="projectNatures"> <iterate operator="or"> <equals value="org.eclipse.cdt.core.cnature"/> <equals value="org.eclipse.cdt.core.ccnature"/> </iterate> </with> </enablement> </extension>
org.eclipse.cdt.ui.text.IQuickAssistProcessor
Copyright (c) 2001, 2008 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-2.0/
t;
t;SPDX-License-Identifier: EPL-2.0