blob: 2965858fb681b7f75996b5744c9e2302b64d07f4 [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.modisco.infra.discovery.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
<meta.schema plugin="org.eclipse.modisco.infra.discovery.ui" id="discoverer" name="MoDisco Discoverer UI"/>
</appinfo>
<documentation>
This extension is used to define the UI part of a discoverer (the discoverer itself being defined with the &quot;org.eclipse.modisco.infra.discovery.core.discoverer&quot; extension point), to make it appear in the MoDisco popup menu.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appinfo>
<meta.element />
</appinfo>
</annotation>
<complexType>
<sequence>
<element ref="discoverer" minOccurs="1" 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="discoverer">
<complexType>
<attribute name="discovererID" type="string" use="required">
<annotation>
<documentation>
The id that uniquely identifies a discoverer, and which must refer to an existing discoverer defined using the extension point &quot;org.eclipse.modisco.infra.discovery.core.discoverer&quot;.
</documentation>
</annotation>
</attribute>
<attribute name="label" type="string" use="required">
<annotation>
<documentation>
The label that describes the discoverer in the popup menu. For example: &quot;Discover Java Project...&quot;
</documentation>
<appinfo>
<meta.attribute translatable="true"/>
</appinfo>
</annotation>
</attribute>
<attribute name="path" type="string">
<annotation>
<documentation>
You can define a path in the MoDisco menu of discoverers. Each level in this path defines a sub-menu.
Leave this attribute empty to put the discoverer at the root of the MoDisco menu.
Path elements are separated by a slash (&quot;/&quot;).
For example, if your path is &quot;j2se5/filters&quot;
the provided menu will have this hierarchy :
&lt;pre&gt;
MoDisco (root menu)
j2se5
filters
Your Discoverer Label
&lt;/pre&gt;
</documentation>
</annotation>
</attribute>
<attribute name="icon" type="string">
<annotation>
<documentation>
The icon associated to the label of the discoverer in the MoDisco menu of discoverers.
</documentation>
<appinfo>
<meta.attribute kind="resource"/>
</appinfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appinfo>
<meta.section type="since"/>
</appinfo>
<documentation>
0.9
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="examples"/>
</appinfo>
<documentation>
[Enter extension point usage example here.]
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="apiinfo"/>
</appinfo>
<documentation>
[Enter API information here.]
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="implementation"/>
</appinfo>
<documentation>
[Enter information about supplied implementation of this extension point.]
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="copyright"/>
</appinfo>
<documentation>
Copyright (c) 2011 Mia-Software.
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
</documentation>
</annotation>
</schema>