<!ELEMENT extension (linkHelper)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT linkHelper (editorInputEnablement , selectionEnablement?)>
<!ATTLIST linkHelper
class CDATA #REQUIRED
id CDATA #REQUIRED>
org.eclipse.ui.navigator.ILinkHelper
.<!ELEMENT editorInputEnablement (not , and , or , instanceof , test , systemTest , equals , count , with , resolve , adapt , iterate , reference)*>
An Eclipse Core Expression that describes when this helper can provide a selection from an editor input.
<!ELEMENT selectionEnablement (not , and , or , instanceof , test , systemTest , equals , count , with , resolve , adapt , iterate , reference)*>
An Eclipse Core Expression that describes when this extension can provide an IEditorInput for a given selection.
<extension point="org.eclipse.ui.navigator.linkHelper"> <linkHelper class="org.eclipse.ui.internal.navigator.resources.workbench.ResourceLinkHelper" id="org.eclipse.ui.navigator.resources.linkHelper"> <selectionEnablement> <instanceof value="org.eclipse.core.resources.IFile"/> </selectionEnablement> <editorInputEnablement> <instanceof value="org.eclipse.ui.IFileEditorInput"/> </editorInputEnablement> </linkHelper> </extension>
Copyright (c) 2002, 2009 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