This extension point supports the enablement
tag. Properties to test on are:
null
as proposals.
<!ELEMENT extension (classpathFixProcessor+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
><!ELEMENT classpathFixProcessor (enablement? , overrides*)>
<!ATTLIST classpathFixProcessor
id CDATA #REQUIRED
name CDATA #IMPLIED
class CDATA #REQUIRED
><!ELEMENT overrides EMPTY>
<!ATTLIST overrides
id IDREF #REQUIRED
>
<extension point="org.eclipse.jdt.ui.classpathFixProcessors"> <classpathFixProcessor id="MyClasspathFixProcessor" name="My Classpath Fix Processor" class="com.example.MyClasspathFixProcessor"> <enablement> <with variable="project"> <test property="org.eclipse.jdt.core.isInJavaProjectWithNature" value="org.eclipse.pde.PluginNature"/> </with> </enablement> <overrides id="org.eclipse.jdt.ui.text.correction.DefaultClasspathFixProcessor"> </overrides> </classpathFixProcessor> </extension>
org.eclipse.jdt.ui.text.java.ClasspathFixProcessor
Copyright (c) 2007, 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