<!ELEMENT extension (codeMiningProvider+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT codeMiningProvider (enabledWhen?)>
<!ATTLIST codeMiningProvider
id CDATA #REQUIRED
class CDATA #REQUIRED
label CDATA #IMPLIED>
A CodeMining provider.
org.eclipse.jface.text.codemining.ICodeMiningProvider
.<!ELEMENT enabledWhen (not | or | and | instanceof | test | systemTest | equals | count | with | resolve | adapt | iterate | reference)?>
A core Expression that controls the enabled of the given codemining provider
<extension point="org.eclipse.ui.workbench.texteditor.codeMiningProviders"> <codeMiningProvider class="org.eclipse.jdt.internal.ui.codemining.JavaReferencesCodeMiningProvider" id="org.eclipse.jdt.ui.codemining.references" label="Java References"> <enabledWhen> <with variable="editor"> <instanceof value="org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor"/> </with> </enabledWhen> </codeMiningProvider> </extension>
Copyright (c) 2017 Angelo ZERR.
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