blob: dc8602afcb1fb8de0fed98fbab427c294b15c0eb [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.sphinx.emf.editors.forms" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.sphinx.emf.editors.forms" id="actionBarValidatorAction" name="%actionBarValidatorAction.name"/>
</appInfo>
<documentation>
This extension point allows to add a validate action to the action bar.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<meta.element />
</appInfo>
</annotation>
<complexType>
<sequence minOccurs="0" maxOccurs="1">
<element ref="validateAction"/>
</sequence>
<attribute name="point" type="string" use="required">
<annotation>
<documentation>
a fully qualified identifier of the target extension point
</documentation>
</annotation>
</attribute>
<attribute name="id" type="string">
<annotation>
<documentation>
an optional identifier of the extension instance
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string">
<annotation>
<documentation>
an optional name of the extension instance
</documentation>
<appInfo>
<meta.attribute translatable="true"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="validateAction">
<complexType>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
the class that defines the ValidateAction implementation. This class must be a public implementation of org.eclipse.emf.edit.ui.action.ValidateAction with a public 0-argument constructor.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="since"/>
</appInfo>
<documentation>
0.7.0
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
Example of an action bar contribution of ValidateAction:
&lt;pre&gt;
&lt;extension
point=&quot;org.eclipse.sphinx.emf.editors.forms.actionBarValidateAction&quot;&gt;
&lt;validateAction
class=&quot;org.eclipse.sphinx.emf.validation.ui.actions.EditingDomainValidateAction&quot;&gt;
&lt;/validateAction&gt;
&lt;/extension&gt;
&lt;/pre&gt;
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
Copyright (c) 2008-2010 See4sys 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
https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
Contributors:
See4sys - Initial API and implementation
</documentation>
</annotation>
</schema>