<?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 ".querySet" 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> | |
<p> | |
The following extension registers a QuerySet, which is contained at the root of the plugin defining the extension: | |
<pre> | |
<extension point="org.eclipse.gmt.modisco.infra.query.registration"> | |
<modelqueryset file="myUMLQueries.querySet"/> | |
</extension> | |
</pre> | |
</p> | |
</documentation> | |
</annotation> | |
<annotation> | |
<appinfo> | |
<meta.section type="apiinfo"/> | |
</appinfo> | |
<documentation> | |
<p> | |
Use org.eclipse.gmt.modisco.infra.query.core.ModelQuerySetCatalog to retrieve the QuerySets that were registered. | |
</p> | |
</documentation> | |
</annotation> | |
<annotation> | |
<appinfo> | |
<meta.section type="implementation"/> | |
</appinfo> | |
<documentation> | |
<p> | |
See how this plug-in registers a QuerySet: | |
<a href="https://dev.eclipse.org/svnroot/modeling/org.eclipse.gmt.modisco/examples/trunk/org.eclipse.gmt.modisco.infra.browser.custom.examples.java.jdk/plugin.xml">org.eclipse.gmt.modisco.infra.browser.custom.examples.java.jdk</a> | |
</p> | |
</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> |