| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.scout.rt.extension.client" xmlns="http://www.w3.org/2001/XMLSchema"> |
| <annotation> |
| <appinfo> |
| <meta.schema plugin="org.eclipse.scout.rt.extension.client" id="menus" name="Menus"/> |
| </appinfo> |
| <documentation> |
| This extension point allows to add, modify and removed programmed menus. |
| |
| The extensions are processed in the following order: |
| <ol> |
| <li>contribute</li> |
| <li>remove</li> |
| <li>modify</li> |
| </ol> |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <annotation> |
| <appinfo> |
| <meta.element /> |
| </appinfo> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element ref="menuContribution" minOccurs="0" maxOccurs="unbounded"/> |
| <element ref="menuModification" minOccurs="0" maxOccurs="unbounded"/> |
| <element ref="menuRemoval" minOccurs="0" 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="menuContribution"> |
| <annotation> |
| <appinfo> |
| <meta.element labelAttribute="class"/> |
| </appinfo> |
| </annotation> |
| <complexType> |
| <sequence> |
| <choice minOccurs="0" maxOccurs="1"> |
| <element ref="page"/> |
| <element ref="formField"/> |
| <element ref="parentMenu"/> |
| <element ref="treeNode"/> |
| <element ref="desktop"/> |
| </choice> |
| <element ref="filter" minOccurs="0" maxOccurs="unbounded"/> |
| </sequence> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="java" basedOn=":org.eclipse.scout.rt.client.ui.action.menu.IMenu"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| <attribute name="order" type="string"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="active" type="boolean" use="default" value="true"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="menuModification"> |
| <annotation> |
| <appinfo> |
| <meta.element labelAttribute="menu"/> |
| </appinfo> |
| </annotation> |
| <complexType> |
| <sequence> |
| <choice minOccurs="0" maxOccurs="1"> |
| <element ref="page"/> |
| <element ref="formField"/> |
| <element ref="parentMenu"/> |
| <element ref="treeNode"/> |
| <element ref="desktop"/> |
| </choice> |
| <element ref="filter" minOccurs="0" maxOccurs="unbounded"/> |
| </sequence> |
| <attribute name="menu" type="string" use="required"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="java" basedOn=":org.eclipse.scout.rt.client.ui.action.menu.IMenu"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="java" basedOn=":org.eclipse.scout.rt.extension.client.ui.action.menu.IMenuModifier"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| <attribute name="active" type="boolean" use="default" value="true"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="menuRemoval"> |
| <annotation> |
| <appinfo> |
| <meta.element labelAttribute="class"/> |
| </appinfo> |
| </annotation> |
| <complexType> |
| <sequence> |
| <choice minOccurs="0" maxOccurs="1"> |
| <element ref="page"/> |
| <element ref="formField"/> |
| <element ref="parentMenu"/> |
| <element ref="treeNode"/> |
| <element ref="desktop"/> |
| </choice> |
| <element ref="filter" minOccurs="0" maxOccurs="unbounded"/> |
| </sequence> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="java" basedOn=":org.eclipse.scout.rt.client.ui.action.menu.IMenu"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| <attribute name="active" type="boolean" use="default" value="true"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="page"> |
| <complexType> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="java" basedOn=":org.eclipse.scout.rt.client.ui.desktop.outline.pages.IPage"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="treeNode"> |
| <complexType> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="java" basedOn=":org.eclipse.scout.rt.client.ui.basic.tree.ITreeNode"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="formField"> |
| <complexType> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="java" basedOn=":org.eclipse.scout.rt.client.ui.form.fields.IFormField"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="parentMenu"> |
| <complexType> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="java" basedOn=":org.eclipse.scout.rt.client.ui.action.menu.IMenu"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="desktop"> |
| <complexType> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="java" basedOn=":org.eclipse.scout.rt.client.ui.desktop.IDesktop"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="filter"> |
| <complexType> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="java" basedOn=":org.eclipse.scout.rt.extension.client.ui.action.menu.IMenuExtensionFilter"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="since"/> |
| </appinfo> |
| <documentation> |
| 3.9.0 |
| </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> |
| This API is experimental and still under development. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="implementation"/> |
| </appinfo> |
| <documentation> |
| [Enter information about supplied implementation of this extension point.] |
| </documentation> |
| </annotation> |
| |
| |
| </schema> |