<?xml version='1.0' encoding='UTF-8'?> | |
<!-- Schema file written by PDE --> | |
<schema targetNamespace="org.eclipse.modisco.infra.browser.custom.core" xmlns="http://www.w3.org/2001/XMLSchema"> | |
<annotation> | |
<appinfo> | |
<meta.schema plugin="org.eclipse.modisco.infra.browser.custom.core" id="registration" name="Customization registration"/> | |
</appinfo> | |
<documentation> | |
Allows the registration of a MoDisco Browser customization. | |
</documentation> | |
</annotation> | |
<element name="extension"> | |
<annotation> | |
<appinfo> | |
<meta.element /> | |
</appinfo> | |
</annotation> | |
<complexType> | |
<sequence minOccurs="1" maxOccurs="unbounded"> | |
<element ref="browserCustomization"/> | |
</sequence> | |
<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="browserCustomization"> | |
<annotation> | |
<documentation> | |
Defines a customization to the MoDisco Model Browser | |
</documentation> | |
</annotation> | |
<complexType> | |
<attribute name="file" type="string" use="required"> | |
<annotation> | |
<documentation> | |
Specifies the location of the uiCustom file that contains the customization. | |
</documentation> | |
<appinfo> | |
<meta.attribute kind="resource"/> | |
</appinfo> | |
</annotation> | |
</attribute> | |
<attribute name="loadByDefault" type="boolean"> | |
<annotation> | |
<documentation> | |
true if this customization must be loaded by default | |
</documentation> | |
</annotation> | |
</attribute> | |
</complexType> | |
</element> | |
<annotation> | |
<appinfo> | |
<meta.section type="since"/> | |
</appinfo> | |
<documentation> | |
0.8 | |
</documentation> | |
</annotation> | |
<annotation> | |
<appinfo> | |
<meta.section type="examples"/> | |
</appinfo> | |
<documentation> | |
The following extension registers two customizations (uiCustom files), which are contained at the root of the plugin defining the extension: | |
<pre> | |
<extension point="org.eclipse.modisco.infra.browser.custom.core.registration"> | |
<browserCustomization file="first.uiCustom"/> | |
<browserCustomization file="second.uiCustom"/> | |
</extension> | |
</pre> | |
</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: | |
Nicolas Bros (Mia-Software) - initial API and implementation | |
</documentation> | |
</annotation> | |
</schema> |