blob: 44e0eaa8eb4414f7e06f3bc7112ce320651e1812 [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.modisco.infra.facet.core" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
<meta.schema plugin="org.eclipse.modisco.infra.facet.core" id="org.eclipse.modisco.infra.facet.registration" name="org.eclipse.modisco.infra.facet.registration"/>
</appinfo>
<documentation>
Allows the registration of a FacetSet, so that it is available in the FacetSet catalog at runtime.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appinfo>
<meta.element />
</appinfo>
</annotation>
<complexType>
<choice>
<element ref="facetset"/>
</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="facetset">
<complexType>
<attribute name="file" type="string" use="required">
<annotation>
<documentation>
The file with extension &quot;*.facetSet&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 FacetSet, which is contained at the root of the plugin defining the extension:
&lt;pre&gt;
&lt;extension point=&quot;org.eclipse.modisco.infra.facet.registration&quot;&gt;
&lt;facetset file=&quot;_example_jdkAndEclipseFacets.facetSet&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.facet.core.FacetSetCatalog to retrieve the FacetSets 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 FacetSet:&lt;br&gt;
&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.
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>