blob: 43862f81be28d98eacc634992caa87b968bc27fc [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.sirius.diagram.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.sirius.diagram.ui" id="formatDataManager" name="org.eclipse.sirius.diagram.ui.formatDataManager"/>
</appInfo>
<documentation>
Extension point to provide new format data managers for &quot;Copy Format&quot; and &quot;Paste Format/Layout/Style&quot; actions.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<meta.element />
</appInfo>
</annotation>
<complexType>
<sequence>
<element ref="formatDataManagerProvider" minOccurs="1" maxOccurs="unbounded"/>
</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="formatDataManagerProvider">
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.sirius.diagram.ui.tools.api.format.IFormatDataManagerProvider"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="since"/>
</appInfo>
<documentation>
Sirius 4.1.0 (replace the deprecated org.eclipse.sirius.diagram.ui.layoutDataManager).
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
The following is an example of a specific format data manager extension:
&lt;p&gt;
&lt;pre&gt;
&lt;extension
point=&quot;org.eclipse.sirius.diagram.ui.formatDataManager&quot;&gt;
&lt;formatDataManagerProvider
class=&quot;com.example.xyz.FormatDataManagerXYZ&quot;
id=&quot;com.example.xyz.formatDataManagerXYZ&quot;&gt;
&lt;/formatDataManagerProvider&gt;
&lt;/extension&gt;
&lt;/pre&gt;
&lt;/p&gt;
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
Copyright (c) 2016 THALES GLOBAL SERVICES&lt;br&gt;
This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
which accompanies this distribution, and is available at
&lt;a href=&quot;https://www.eclipse.org/legal/epl-2.0&quot;&gt;https://www.eclipse.org/legal/epl-v20.html&lt;/a&gt;/
SPDX-License-Identifier: EPL-2.0
</documentation>
</annotation>
</schema>