blob: 7721377d7348f091250ac0a98a5ed382b0cb1807 [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.gmt.modisco.infra.query.core" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
<meta.schema plugin="org.eclipse.gmt.modisco.infra.query.core" id="org.eclipse.gmt.modisco.infra.query.registration" name="org.eclipse.gmt.modisco.infra.query.registration"/>
</appinfo>
<documentation>
Allows the registration of a QuerySet, so that it is available in the QuerySet catalog at runtime.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appinfo>
<meta.element />
</appinfo>
</annotation>
<complexType>
<choice>
<element ref="modelqueryset"/>
</choice>
<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="modelqueryset">
<complexType>
<attribute name="file" type="string" use="required">
<annotation>
<documentation>
The file with extension &quot;.querySet&quot; that you want to register.
</documentation>
<appinfo>
<meta.attribute kind="resource"/>
</appinfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appinfo>
<meta.section type="since"/>
</appinfo>
<documentation>
0.8
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="examples"/>
</appinfo>
<documentation>
&lt;p&gt;
The following extension registers a QuerySet, which is contained at the root of the plugin defining the extension:
&lt;pre&gt;
&lt;extension point=&quot;org.eclipse.gmt.modisco.infra.query.registration&quot;&gt;
&lt;modelqueryset file=&quot;myUMLQueries.querySet&quot;/&gt;
&lt;/extension&gt;
&lt;/pre&gt;
&lt;/p&gt;
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="apiinfo"/>
</appinfo>
<documentation>
&lt;p&gt;
Use org.eclipse.gmt.modisco.infra.query.core.ModelQuerySetCatalog to retrieve the QuerySets that were registered.
&lt;/p&gt;
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="implementation"/>
</appinfo>
<documentation>
&lt;p&gt;
See how this plug-in registers a QuerySet:
&lt;a href=&quot;https://dev.eclipse.org/svnroot/modeling/org.eclipse.gmt.modisco/examples/trunk/org.eclipse.gmt.modisco.infra.browser.custom.examples.java.jdk/plugin.xml&quot;&gt;org.eclipse.gmt.modisco.infra.browser.custom.examples.java.jdk&lt;/a&gt;
&lt;/p&gt;
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="copyright"/>
</appinfo>
<documentation>
Copyright (c) 2009 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
Contributors:
Gregoire DUPE (Mia-Software) - initial API and implementation
</documentation>
</annotation>
</schema>