blob: fae0502e37bd69e850c6ccb51e04ce8646ef8cf9 [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!--
/*******************************************************************************
* Copyright (c) 2012 Bundesinstitut für Risikobewertung and others.
* 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:
* Bundesinstitut für Risikobewertung - initial API and implementation
*******************************************************************************/
-->
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.stem.model.codegen" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.stem.model.codegen" id="model_type" name="Code Generation ModelTypes"/>
</appInfo>
<documentation>
[Enter description of this extension point.]
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<meta.element />
</appInfo>
</annotation>
<complexType>
<sequence minOccurs="1" maxOccurs="unbounded">
<element ref="modelType"/>
</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="modelType">
<complexType>
<sequence>
<element ref="baseModel"/>
<element ref="extendableModel"/>
<element ref="baseLabel"/>
<element ref="extendableLabel"/>
<element ref="baseLabelValue"/>
<element ref="extendableLabelValue"/>
<element ref="propertyEditor"/>
<element ref="propertyEditorComposite"/>
<element ref="propertyEditorAdapterFactory"/>
<element ref="propertyEditorAdapter"/>
<element ref="propertyStringAdapterFactory"/>
<element ref="propertyStringAdapter"/>
<element ref="labelRelativeValueProvider"/>
<element ref="labelValueRelativeValueProvider"/>
</sequence>
<attribute name="extensionPointId" type="string">
<annotation>
<documentation>
The ID of the extension point that implementations of this model type register to.
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="iconPath" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="baseModel">
<complexType>
<attribute name="packageUri" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="className" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="extendableModel">
<complexType>
<attribute name="packageUri" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="className" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="baseLabel">
<complexType>
<attribute name="packageUri" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="className" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="extendableLabel">
<complexType>
<attribute name="packageUri" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="className" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="baseLabelValue">
<complexType>
<attribute name="packageUri" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="className" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="extendableLabelValue">
<complexType>
<attribute name="packageUri" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="className" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="propertyEditor">
<complexType>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.stem.ui.editors.GenericPropertyEditor"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="propertyEditorComposite">
<complexType>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.swt.widgets.Composite:"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="propertyEditorAdapterFactory">
<complexType>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.emf.common.notify.Adapter"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="propertyEditorAdapter">
<complexType>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.emf.common.notify.Adapter"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="propertyStringAdapterFactory">
<complexType>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.stem.ui.adapters.propertystrings.PropertyStringProviderAdapterFactory"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="propertyStringAdapter">
<complexType>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.stem.ui.adapters.propertystrings.PropertyStringProviderAdapterFactory"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="labelRelativeValueProvider">
<complexType>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.stem.definitions.adapters.relativevalue.RelativeValueProvider"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="labelValueRelativeValueProvider">
<complexType>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.stem.definitions.adapters.relativevalue.RelativeValueProvider"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="since"/>
</appInfo>
<documentation>
[Enter the first release in which this extension point appears.]
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
[Enter extension point usage example here.]
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="apiinfo"/>
</appInfo>
<documentation>
[Enter API information here.]
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="implementation"/>
</appInfo>
<documentation>
[Enter information about supplied implementation of this extension point.]
</documentation>
</annotation>
</schema>