blob: 576f2c829d5d83e99920482fe5f8cf70ffc0ea46 [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.mylyn.discovery.core" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
<meta.schema plugin="org.eclipse.mylyn.discovery.core" id="connectorDiscovery" name="Connector Discovery"/>
</appinfo>
<documentation>
An extension point for contributing to the Mylyn connector discovery mechanism.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appinfo>
<meta.element internal="true" />
</appinfo>
</annotation>
<complexType>
<sequence>
<element ref="connectorCategory" minOccurs="0" maxOccurs="unbounded"/>
<element ref="connectorDescriptor" minOccurs="0" maxOccurs="unbounded"/>
<element ref="certification" minOccurs="0" maxOccurs="unbounded"/>
</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>
<appinfo>
<meta.attribute translatable="true"/>
</appinfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="connectorDescriptor">
<annotation>
<documentation>
A description of a connector, including kinds, description, licensing and brand.
</documentation>
</annotation>
<complexType>
<sequence>
<element ref="featureFilter" minOccurs="0" maxOccurs="unbounded"/>
<element ref="icon" minOccurs="0" maxOccurs="1"/>
<element ref="overview" minOccurs="0" maxOccurs="1"/>
<element ref="iu" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="kind" type="string">
<annotation>
<documentation>
must be a comma-delimited list of the following values: &apos;document&apos;, &apos;task&apos;, &apos;vcs&apos;
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string" use="required">
<annotation>
<documentation>
the name of the connector including the name of the organization that produces the repository if appropriate, for example &apos;Mozilla Bugzilla&apos;.
</documentation>
<appinfo>
<meta.attribute translatable="true"/>
</appinfo>
</annotation>
</attribute>
<attribute name="provider" type="string" use="required">
<annotation>
<documentation>
The name of the organization that supplies the connector.
</documentation>
<appinfo>
<meta.attribute translatable="true"/>
</appinfo>
</annotation>
</attribute>
<attribute name="license" type="string" use="required">
<annotation>
<documentation>
The short name of the license, for example &apos;EPL 1.0&apos;, &apos;GPL 2.0&apos;, or &apos;Commercial&apos;.
</documentation>
<appinfo>
<meta.attribute translatable="true"/>
</appinfo>
</annotation>
</attribute>
<attribute name="description" type="string">
<annotation>
<documentation>
A description of the connector. Plug-ins should provide a description, especially if the description is not self-evident from the @name and @organization.
Only the first 162 characters of the description are displayed in the UI and line breaks are ignored.
</documentation>
<appinfo>
<meta.attribute translatable="true"/>
</appinfo>
</annotation>
</attribute>
<attribute name="siteUrl" type="string" use="required">
<annotation>
<documentation>
The URL of the update site containing the connector.
</documentation>
</annotation>
</attribute>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
The id of the feature that installs this connector
</documentation>
</annotation>
</attribute>
<attribute name="categoryId" type="string" use="required">
<annotation>
<documentation>
the id of the connectorCategory in which this connector belongs
</documentation>
<appinfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.mylyn.discovery.core.connectorDiscovery/connectorCategory/@id"/>
</appinfo>
</annotation>
</attribute>
<attribute name="platformFilter" type="string">
<annotation>
<documentation>
E.g., &quot;(&amp; (osgi.os=macosx) (osgi.ws=carbon))&quot;
</documentation>
</annotation>
</attribute>
<attribute name="groupId" type="string">
<annotation>
<documentation>
The id of the connectorCategory group. See group/@id for more details.
</documentation>
<appinfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.mylyn.discovery.core.connectorDiscovery/connectorDescriptor/@groupId"/>
</appinfo>
</annotation>
</attribute>
<attribute name="certificationId" type="string">
<annotation>
<documentation>
</documentation>
<appinfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.mylyn.discovery.core.connectorDiscovery/certification/@id"/>
</appinfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="connectorCategory">
<annotation>
<documentation>
a category of connectors, which is a way of organizing connectors in top-level groups.
</documentation>
</annotation>
<complexType>
<sequence>
<element ref="icon" minOccurs="0" maxOccurs="1"/>
<element ref="overview" minOccurs="0" maxOccurs="1"/>
<element ref="group" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
an id that uniquely identifies the category
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string" use="required">
<annotation>
<documentation>
the name of the category, as it is displayed in the ui.
</documentation>
<appinfo>
<meta.attribute translatable="true"/>
</appinfo>
</annotation>
</attribute>
<attribute name="description" type="string" use="required">
<annotation>
<documentation>
A description of the category
</documentation>
<appinfo>
<meta.attribute translatable="true"/>
</appinfo>
</annotation>
</attribute>
<attribute name="relevance" type="string">
<annotation>
<documentation>
A relevance, which is a number from 0 to 100. Categories with higher relevance are displayed with preference in the UI.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="icon">
<complexType>
<attribute name="image16" type="string">
<annotation>
<documentation>
</documentation>
<appinfo>
<meta.attribute kind="resource"/>
</appinfo>
</annotation>
</attribute>
<attribute name="image32" type="string">
<annotation>
<documentation>
</documentation>
<appinfo>
<meta.attribute kind="resource"/>
</appinfo>
</annotation>
</attribute>
<attribute name="image48" type="string">
<annotation>
<documentation>
</documentation>
<appinfo>
<meta.attribute kind="resource"/>
</appinfo>
</annotation>
</attribute>
<attribute name="image64" type="string">
<annotation>
<documentation>
</documentation>
<appinfo>
<meta.attribute kind="resource"/>
</appinfo>
</annotation>
</attribute>
<attribute name="image128" type="string">
<annotation>
<documentation>
</documentation>
<appinfo>
<meta.attribute kind="resource"/>
</appinfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="overview">
<annotation>
<documentation>
An overview that provides more detailed information, which may include a summary, url and screenshot.
</documentation>
</annotation>
<complexType>
<attribute name="summary" type="string">
<annotation>
<documentation>
A description providing detailed information about the item. Newlines can be used to format the text into multiple paragraphs if necessary. Text must fit into an area 320x240, otherwise it will be truncated in the UI. More lengthy descriptions can be provided on a web page if required, see @url.
</documentation>
<appinfo>
<meta.attribute translatable="true"/>
</appinfo>
</annotation>
</attribute>
<attribute name="url" type="string">
<annotation>
<documentation>
An URL that points to a web page with more information relevant to the connector or category.
</documentation>
</annotation>
</attribute>
<attribute name="screenshot" type="string">
<annotation>
<documentation>
320x240 PNG, JPEG or GIF
</documentation>
<appinfo>
<meta.attribute kind="resource"/>
</appinfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="featureFilter">
<annotation>
<documentation>
A means of specifying that a feature must be present in order for the connectorDescriptor to be presented to the user.
</documentation>
</annotation>
<complexType>
<attribute name="featureId" type="string" use="required">
<annotation>
<documentation>
The id of the feature to test
</documentation>
</annotation>
</attribute>
<attribute name="version" type="string" use="required">
<annotation>
<documentation>
A version specifier, specified in the same manner as version dependencies are specified in an OSGi manifest. For example: &quot;[3.0,4.0)&quot;
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="group">
<annotation>
<documentation>
groups provide a way to anchor connectors in a grouping with other like entries.
</documentation>
</annotation>
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
An identifier that identifies the group. Must be unique for a particular connectorCategory.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="certification">
<complexType>
<sequence>
<element ref="icon" minOccurs="0" maxOccurs="1"/>
<element ref="description"/>
</sequence>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
An id that uniquely identifies the certification.
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string" use="required">
<annotation>
<documentation>
The name of the certification, as it is displayed in the ui.
</documentation>
<appinfo>
<meta.attribute translatable="true"/>
</appinfo>
</annotation>
</attribute>
<attribute name="url" type="string">
<annotation>
<documentation>
An URL that points to a web page with more information relevant to the certification.
</documentation>
<appinfo>
<meta.attribute translatable="true"/>
</appinfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="description" type="string">
<annotation>
<appinfo>
<meta.element translatable="true"/>
</appinfo>
<documentation>
A textual description.
</documentation>
</annotation>
</element>
<element name="iu">
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
The id of the feature that is to be installed.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appinfo>
<meta.section type="since"/>
</appinfo>
<documentation>
3.2
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="copyright"/>
</appinfo>
<documentation>
Copyright (c) 2009 Tasktop Technologies 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
&lt;a href=&quot;https://www.eclipse.org/legal/epl-2.0&quot;&gt;https://www.eclipse.org/legal/epl-v20.html&lt;/a&gt;/
SPDX-License-Identifier: EPL-2.0
</documentation>
</annotation>
</schema>