134 lines
4.6 KiB
XML
134 lines
4.6 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<!-- Schema file written by PDE -->
|
|
<schema targetNamespace="org.adempiere.webui" xmlns="http://www.w3.org/2001/XMLSchema">
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.schema plugin="org.adempiere.webui" id="org.adempiere.webui.Form" name="Web Form"/>
|
|
</appinfo>
|
|
<documentation>
|
|
Extension point to provide form controller implementation. Use the {extension id} in AD_Form.ClassName to reference the extension that will provide the form controller instance ( replace {extension id} with your actual extension id ). Note that if you intend to support both swing and zk client, you should use the same extension id for the swing and zk form extension ( of course, class name should be different ).
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<element name="extension">
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.element />
|
|
</appinfo>
|
|
</annotation>
|
|
<complexType>
|
|
<choice>
|
|
<element ref="form"/>
|
|
</choice>
|
|
<attribute name="point" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="id" type="string" use="required">
|
|
<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="form">
|
|
<complexType>
|
|
<attribute name="class" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
Implementation class name for the org.adempiere.webui.panel.IFormController interface
|
|
</documentation>
|
|
<appinfo>
|
|
<meta.attribute kind="java" basedOn=":org.adempiere.webui.panel.IFormController"/>
|
|
</appinfo>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="priority" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
numeric priority value, higher value is of higher priority
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.section type="since"/>
|
|
</appinfo>
|
|
<documentation>
|
|
1.0.0
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.section type="examples"/>
|
|
</appinfo>
|
|
<documentation>
|
|
<pre>
|
|
<extension
|
|
id="org.adempiere.extend.myForm"
|
|
name="My Form"
|
|
point="org.adempiere.webui.Form">
|
|
<process
|
|
class="org.adempiere.ui.zk.extend.MyForm">
|
|
</process>
|
|
</extension>
|
|
|
|
AD_Form.ClassName="org.adempiere.extend.myForm"
|
|
</pre>
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.section type="apiinfo"/>
|
|
</appinfo>
|
|
<documentation>
|
|
The class attribute must represent an implementor of org.adempiere.webui.panel.IFormController
|
|
</documentation>
|
|
</annotation>
|
|
|
|
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.section type="copyright"/>
|
|
</appinfo>
|
|
<documentation>
|
|
This file is part of Adempiere ERP Bazaar http://www.adempiere.org.
|
|
|
|
Copyright (C) Heng Sin Low.
|
|
Copyright (C) Contributors.
|
|
|
|
This program is free software; you can redistribute it and/or modify it
|
|
under the terms version 2 of the GNU General Public License as published
|
|
by the Free Software Foundation. This program is distributed in the hope
|
|
that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
|
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
See the GNU General Public License for more details.
|
|
You should have received a copy of the GNU General Public License along
|
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
|
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
|
</documentation>
|
|
</annotation>
|
|
|
|
</schema>
|