<?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 "*.facetSet" 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 FacetSet, which is contained at the root of the plugin defining the extension: | |
<pre> | |
<extension point="org.eclipse.modisco.infra.facet.registration"> | |
<facetset file="_example_jdkAndEclipseFacets.facetSet"/> | |
</extension> | |
</pre> | |
</p> | |
</documentation> | |
</annotation> | |
<annotation> | |
<appinfo> | |
<meta.section type="apiinfo"/> | |
</appinfo> | |
<documentation> | |
<p> | |
Use org.eclipse.modisco.infra.facet.core.FacetSetCatalog to retrieve the FacetSets that were registered. | |
</p> | |
</documentation> | |
</annotation> | |
<annotation> | |
<appinfo> | |
<meta.section type="implementation"/> | |
</appinfo> | |
<documentation> | |
<p> | |
See how this plug-in registers a FacetSet:<br> | |
<a href="https://dev.eclipse.org/svnroot/modeling/org.eclipse.modisco/examples/trunk/org.eclipse.modisco.infra.browser.custom.examples.java.jdk/plugin.xml">org.eclipse.modisco.infra.browser.custom.examples.java.jdk</a>. | |
</p> | |
</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> |