
<?xml version="1.0" encoding="utf-8"?>
<Shell name="FormBaseInput" descriptors="xworker.swt.widgets.Shell" text="表单基本控件综合演示" RESIZE="true" pack="true">
<GridLayout name="shellGridLayout"></GridLayout>
<DataObjectForm name="form" label="Basic input type">
<GridData name="formGridLayout" style="FILL_BOTH"></GridData>
<dataObjects>
<AbstractDataObject name="formExampleDataObject" storeSortDir="ASC" autoInitAction="autoInit">
<attribute name="textField" label="文本框"></attribute>
<attribute name="checkBox" label="单选框" inputtype="truefalse"></attribute>
<attribute name="radioButton" label="多选框" default="1" inputtype="radio">
<value name="1" label="男" value="1"></value>
<value name="2" label="女" value="2"></value>
</attribute>
<attribute name="select" label="下拉选择框" default="2" inputtype="select">
<value name="1" label="男" value="1"></value>
<value name="2" label="女" value="2"></value>
</attribute>
<attribute name="selectMulti" label="下拉多选框" default="1,2" inputtype="multSelect">
<value name="1" label="男" value="1"></value>
<value name="2" label="女" value="2"></value>
</attribute>
<attribute name="datePick" label="日期选择器" inputtype="datePick"></attribute>
<attribute name="textArea" label="文本区" inputtype="textarea" colspan="2"></attribute>
<attribute name="codeText" label="代码着色文本区" inputtype="codeEditor" colspan="2"
inputattrs="codeName=java codeType=java wrap=false fillBoth=true cols= rows=">
<default><![CDATA[import java.util;
public class Hello{
}]]></default>
</attribute>
<attribute name="html" label="HTML文档"
default="协议基本表单输入控件的示例,通过DataObject的属性的输入方式自动创建表单控件。"
inputtype="html" colspan="2"></attribute>
</AbstractDataObject>
</dataObjects>
</DataObjectForm>
</Shell>