blob: dad8c51a4457057450778700612d9b194528568c [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.modisco.infra.query.core" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
<meta.schema plugin="org.eclipse.modisco.infra.query.core" id="org.eclipse.modisco.infra.query.registration" name="org.eclipse.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.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.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.modisco/examples/trunk/org.eclipse.modisco.infra.browser.custom.examples.java.jdk/plugin.xml&quot;&gt;org.eclipse.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 and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v20.html
Contributors:
Gregoire DUPE (Mia-Software) - initial API and implementation
</documentation>
</annotation>
</schema>