| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.ui.navigator" xmlns="http://www.w3.org/2001/XMLSchema"> |
| <annotation> |
| <appinfo> |
| <meta.schema plugin="org.eclipse.ui.navigator" id="linkHelper" name="Navigator Link Helper"/> |
| </appinfo> |
| <documentation> |
| Provides a hook for clients that wish to extend the "Link with Editor" capability of a Common Navigator. A link helper must be included in a <b>viewerContentBinding</b> element of the <b>org.eclipse.ui.navigator.viewer</b> extension point. |
| </documentation> |
| </annotation> |
| |
| <include schemaLocation="schema://org.eclipse.core.expressions/schema/expressionLanguage.exsd"/> |
| |
| <element name="extension"> |
| <annotation> |
| <appinfo> |
| <meta.element /> |
| </appinfo> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element ref="linkHelper"/> |
| </sequence> |
| <attribute name="point" type="string" use="required"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="id" type="string"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="linkHelper"> |
| <complexType> |
| <sequence> |
| <element ref="editorInputEnablement"/> |
| <element ref="selectionEnablement" minOccurs="0" maxOccurs="1"/> |
| </sequence> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| Implements <code>org.eclipse.ui.navigator.ILinkHelper</code>. |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="java" basedOn="org.eclipse.ui.navigator.ILinkHelper"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| <attribute name="id" type="string" use="required"> |
| <annotation> |
| <documentation> |
| A unique id for this <b>linkHelper</b> extension. |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="editorInputEnablement"> |
| <annotation> |
| <documentation> |
| An Eclipse Core Expression that describes when this helper can provide a selection from an editor input. |
| </documentation> |
| </annotation> |
| <complexType> |
| <sequence minOccurs="0" maxOccurs="unbounded"> |
| <element ref="not"/> |
| <element ref="and"/> |
| <element ref="or"/> |
| <element ref="instanceof"/> |
| <element ref="test"/> |
| <element ref="systemTest"/> |
| <element ref="equals"/> |
| <element ref="count"/> |
| <element ref="with"/> |
| <element ref="resolve"/> |
| <element ref="adapt"/> |
| <element ref="iterate"/> |
| <element ref="reference"/> |
| </sequence> |
| </complexType> |
| </element> |
| |
| <element name="selectionEnablement"> |
| <annotation> |
| <documentation> |
| An Eclipse Core Expression that describes when this extension can provide an IEditorInput for a given selection. |
| </documentation> |
| </annotation> |
| <complexType> |
| <sequence minOccurs="0" maxOccurs="unbounded"> |
| <element ref="not"/> |
| <element ref="and"/> |
| <element ref="or"/> |
| <element ref="instanceof"/> |
| <element ref="test"/> |
| <element ref="systemTest"/> |
| <element ref="equals"/> |
| <element ref="count"/> |
| <element ref="with"/> |
| <element ref="resolve"/> |
| <element ref="adapt"/> |
| <element ref="iterate"/> |
| <element ref="reference"/> |
| </sequence> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="since"/> |
| </appinfo> |
| <documentation> |
| 3.2 |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="examples"/> |
| </appinfo> |
| <documentation> |
| <pre> |
| <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> |
| </pre> |
| </documentation> |
| </annotation> |
| |
| |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="copyright"/> |
| </appinfo> |
| <documentation> |
| Copyright (c) 2002, 2009 IBM Corporation and others.<br> |
| 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 <a |
| href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> |
| </documentation> |
| </annotation> |
| |
| </schema> |