^1447925977721
@
sname
ThingEditor
slabel
事物编辑器
sisChapter
true
sdescriptors
xworker.ide.tools.autodemo.AutoDemo
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo
sname
AutoDemo
slabel
主题
sisChapter
true
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@AutoDemo
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo/@ShowHtml
sname
ShowHtml
slabel
演示-解释本次演示主题
swaitTime
5000
Sdescription
#$@text#$@
<p>事物编辑器是编辑事物的界面，本演示介绍如何设置事物编辑器。</p>

<p><strong>要点：</strong></p>

<ul>
	<li>事物编辑器是根据描述者动态生成的。</li>
	<li>事物编辑器采用的是SWT的GridLayout。</li>
	<li>可以设置属性的编辑方式。</li>
	<li>事物编辑器可以自定义。</li>
	<li>属性编辑器可以自定义。</li>
</ul>
#$@text#$@
sisChapter
true
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@ShowThingDescription
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo/@SysResponse
sname
SysResponse
slabel
系统-你好
swaitTime
2000
sdescription
<p>你好。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo/@SendText
sname
SendText
slabel
用户-你好
swaitTime
1000
scontent
你好，今天要讲什么呢？
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo/@SysResponse1
sname
SysResponse
slabel
系统-今天的主题
swaitTime
3000
sdescription
<p>今天我们讲如何设置事物编辑器。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo/@SendText1
sname
SendText
slabel
用户-好的
swaitTime
1000
scontent
好的，请继续。
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo/@SelfDemo
sname
SelfDemo
slabel
演示-初始化
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SelfDemo
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo/@SelfDemo/@actions
sname
actions
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SelfDemo/@actions
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo/@SelfDemo/@actions/@run
sname
run
sisSynchronized
false
sthrowException
true
suseOtherAction
false
svarScope
Local
sdisableGlobalContext
false
Scode
#$@text#$@
//清空人上的编辑设定
def p = world.getThing("xworker.demo.xworker.editor.Person");
p.set("editCols", "2");

def age = world.getThing("xworker.demo.xworker.editor.Person/@label");
age.inputtype = "";
age.size = "";
age.rowspan = "";
age.colspan = "";
age.group = "";
age.inputattrs = "";

p.save();

def zhangsan = world.getThing("xworker.demo.xworker.editor.Zhansan");
zhangsan.age = "";
zhangsan.save();
#$@text#$@
sinterpretationType
Action
screateLocalVarScope
false
ssaveReturn
false
sdebugLog
false
sdescriptors
xworker.lang.actions.Actions/@GroovyAction
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo1
sname
AutoDemo
slabel
事物编辑器介绍
sisChapter
true
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@AutoDemo
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo1/@SysResponse
sname
SysResponse
slabel
系统-介绍事物编辑器
swaitTime
3000
sdescription
<p>我们知道编辑一个事物是通过事物编辑器编辑的。</p>
sisChapter
true
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo1/@SysResponse1
sname
SysResponse
slabel
系统-系统编辑是用户定义的
swaitTime
3000
sdescription
<p>然而一个事物的编辑器是什么样的其实是有用户设定的。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo1/@SendText
sname
SendText
slabel
用户-理解设定编辑器
swaitTime
1000
scontent
你是说一个事物的编辑器是根据它的描述者动态生成的，而描述者也是用户定义和编辑的吧？
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo1/@SysResponse2
sname
SysResponse
slabel
系统-事物编辑的动态生成
swaitTime
6000
sdescription
<p>是的，事物编辑器是根据它的描述者生成的，生成一个事物编辑器有两种方法，一个是描述者可以完全子自定义编辑器，另一个是根据描述者的属性子节点自动生成的编辑器。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo1/@SendText1
sname
SendText
slabel
用户-询问自定义
swaitTime
1000
scontent
你说我可以完全自定义一个事物编辑器？
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo1/@SysResponse3
sname
SysResponse
slabel
系统-解释自定义编辑器
swaitTime
5000
sdescription
<p>是的，我们认为最高效的编辑事物的方式是根据事物自身而设定的编辑器，虽然根据描述者的属性子节点生成的编辑器是最通用的。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo1/@SendText2
sname
SendText
slabel
用户-请介绍
swaitTime
1000
scontent
好的，那你可以给我们分别介绍一下吗？
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo1/@SysResponse4
sname
SysResponse
slabel
系统-可以
swaitTime
3000
sdescription
<p>可以-我先从根据描述者的属性自动生成的编辑器介绍起。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo2
sname
AutoDemo
slabel
根据属性自动生成的编辑器
sisChapter
true
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@AutoDemo
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo2/@SysResponse
sname
SysResponse
slabel
系统-讲解示例
swaitTime
3000
sdescription
<p>我们还是以人和张三为例。</p>
sisChapter
true
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo2/@SendText
sname
SendText
slabel
用户-好的
swaitTime
1000
scontent
好的，请继续。
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo2/@EditThing
sname
EditThing
slabel
演示-编辑人
sthingPath
xworker.demo.xworker.editor.Person
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo2/@SysResponse1
sname
SysResponse
slabel
系统-看人
swaitTime
3000
sdescription
<p>请看右面，现在打开了人，可以看到人下面有name和age等属性子事物。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo2/@SendText1
sname
SendText
slabel
用户-知道属性子事物的作用
swaitTime
1000
scontent
我知道属性子事物定义了张三有哪些属性。
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo2/@SysResponse2
sname
SysResponse
slabel
系统-属性在编辑器中的作用
swaitTime
3000
sdescription
<p>是的，张三的编辑器就是根据这些属性自动生成的。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo2/@EditThing1
sname
EditThing
slabel
演示-编辑张三
sthingPath
xworker.demo.xworker.editor.Zhansan
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo2/@SysResponse3
sname
SysResponse
slabel
系统-讲解张三的编辑器
swaitTime
3000
sdescription
<p>现在右面打开了张三，可以看到&rdquo;人&ldquo;定义的属性子节点正是张三编辑器中的属性。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo2/@SendText2
sname
SendText
slabel
用户-是否可以调整表单
swaitTime
1000
scontent
好的，我看到了张三的编辑表单了，那么我可以调整编辑表单吗？
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo2/@SysResponse4
sname
SysResponse
slabel
系统-可以挑战表单
swaitTime
3000
sdescription
<p>可以调整表单，主要是调整布局和设置属性的编辑方式。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo2/@SendText3
sname
SendText
slabel
用户-请介绍
swaitTime
1000
scontent
请分别介绍一下吧。
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3
sname
AutoDemo
slabel
表单布局
sisChapter
true
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@AutoDemo
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@SysResponse
sname
SysResponse
slabel
系统-介绍布局
swaitTime
3000
sdescription
<p>首先我们介绍一下表单的布局，自动生成的表单使用的是SWT的GridLayout布局。</p>
sisChapter
true
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@SysResponse1
sname
SysResponse
slabel
系统-介绍GridLayout
swaitTime
3000
sdescription
<p>GridLayout布局类似HTML中的表格，它分成行和列，每个控件可以设置所占的行数和列数。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@EditThing
sname
EditThing
slabel
演示-编辑人
sthingPath
xworker.demo.xworker.editor.Person
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@SysResponse2
sname
SysResponse
slabel
系统-介绍GridLayout1
swaitTime
5000
sdescription
<p>表单布局的列数在描述者中设置，现在右面已经打开了&rdquo;人&ldquo;，可以看到它的属性编辑列数（editCols），它定义了要分几个列。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@SysResponse3
sname
SysResponse
slabel
系统-编辑列数
swaitTime
5000
sdescription
<p>在这里要注意的是属性标签列和属性输入控件列一起算作一列，所以如果这里的列数设置的是2，那么实际的GridLayout的列数是4。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@SysResponse4
sname
SysResponse
slabel
系统-Xworker强制列为1
swaitTime
3000
sdescription
<p>由于在事物管理器中列数已经强制设定为1了，所以在事物管理器中列数并不生效，但在其它事物地方还可以生效。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@ShowComposite
sname
ShowComposite
slabel
演示-显示张三的表单
scompositePath
xworker.demo.xworker.editor.ZhangsanEditor/@mainCompsoite
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@ShowComposite
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@SysResponse5
sname
SysResponse
slabel
系统-右面的显示
swaitTime
3000
sdescription
<p>比如现在右面显示的表单中编辑列数（editCols）是生效的，可以看到name和age属性是并列的了。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@SysResponse6
sname
SysResponse
slabel
系统-设置colspan
swaitTime
5000
sdescription
<p>这时可以设置属性子事物的跨列（colspan）和r跨行（owspan）属性来设置属性编辑器所占的行和列。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@EditThing1
sname
EditThing
slabel
演示-编辑age属性
sthingPath
xworker.demo.xworker.editor.Person/@label
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@SysResponse7
sname
SysResponse
slabel
系统-设置所占列为2
swaitTime
2000
sdescription
<p>比如我们设置跨列（colspan）为2。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@SetThingEditorValue
sname
SetThingEditorValue
slabel
演示-设置快跨列
swaitTime
3000
Svalues
#$@text#$@
{
    "colspan":"2"
}
#$@text#$@
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SetThingEditorValue
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@ThingEditorDoSave
sname
ThingEditorDoSave
slabel
演示-保存事物
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@ThingEditorDoSave
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@ShowComposite1
sname
ShowComposite
slabel
演示-显示张三的表单
scompositePath
xworker.demo.xworker.editor.ZhangsanEditor/@mainCompsoite
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@ShowComposite
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@SysResponse8
sname
SysResponse
slabel
系统-解释age的跨列
swaitTime
3000
sdescription
<p>现在在打开表单，可以看到age已经跨两列了。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@SendText
sname
SendText
slabel
用户-知道列了
swaitTime
1000
scontent
我看到 age属性已经跨两列了，但这个输入框很短，可以调整大小吗？
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@SysResponse9
sname
SysResponse
slabel
系统-调整size
swaitTime
3000
sdescription
<p>输入框的大小可以通过尺寸（size）属性调整。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@EditThing11
sname
EditThing
slabel
演示-编辑age属性
sthingPath
xworker.demo.xworker.editor.Person/@label
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@SetThingEditorValue1
sname
SetThingEditorValue
slabel
演示-设置size=50
Svalues
#$@text#$@
{
    "size":"50"
}
#$@text#$@
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SetThingEditorValue
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@ThingEditorDoSave1
sname
ThingEditorDoSave
slabel
演示-保存事物
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@ThingEditorDoSave
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@SysResponse10
sname
SysResponse
slabel
系统-解释设置size
swaitTime
5000
Sdescription
#$@text#$@
<p>比如这里我们把尺寸(size)设置为50。</p>

<p>（注：编辑器早期为了兼容html，所以size并不是像素点，而是字符数，但现在生成的尺寸是预估的。）</p>
#$@text#$@
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@ShowComposite11
sname
ShowComposite
slabel
演示-显示张三的表单
scompositePath
xworker.demo.xworker.editor.ZhangsanEditor/@mainCompsoite
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@ShowComposite
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@SysResponse11
sname
SysResponse
slabel
系统-显示尺寸(size）
swaitTime
3000
sdescription
<p>那么效果就是像右边所显示的，age输入框的尺寸变大了。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@SendText1
sname
SendText
slabel
用户-已了解布局
swaitTime
1000
scontent
好的，我已经简单了解了布局，那么请讲下如何设置属性的输入控件类型吧。
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4
sname
AutoDemo
slabel
属性输入类型
sisChapter
true
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@AutoDemo
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@EditThing1
sname
EditThing
slabel
演示-编辑age属性
sthingPath
xworker.demo.xworker.editor.Person/@label
sisChapter
true
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SysResponse
sname
SysResponse
slabel
系统-解释inuttype
swaitTime
3000
sdescription
<p>现在看右面age属性的编辑表单，看到输入方式（inputtype）属性了吧？</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SendText
sname
SendText
slabel
用户-看到了
swaitTime
1000
scontent
看到了。
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SysResponse1
sname
SysResponse
slabel
系统-它是下拉列表
swaitTime
3000
sdescription
<p>它是一个下拉列表，在自动演示中我还不能打开的，你可以点击下拉列表看看选项。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SendText1
sname
SendText
slabel
用户-自己选择
swaitTime
3000
scontent
好吧，我自己点开看一下。
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SendText2
sname
SendText
slabel
用户-看到了很多选项
swaitTime
1000
scontent
是的，我看到了很多选项。
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SysResponse2
sname
SysResponse
slabel
系统-解释输入方式
swaitTime
3000
sdescription
<p>是的，属性的输入控件是根据选择输入方式选项而变化的。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SysResponse3
sname
SysResponse
slabel
系统-系统演示
swaitTime
3000
sdescription
<p>现在我来介绍几个常用的输入方式下，下面看我的操作。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SendText3
sname
SendText
slabel
用户-好的
swaitTime
1000
scontent
好的，请操作。
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SysResponse4
sname
SysResponse
slabel
系统-常见输入类型
swaitTime
5000
sdescription
<p>常见的输入类型有文本框、文本区、下拉框、下拉多选框、真假、真假下拉、日期选择、事物选择、文件选择和弹出窗口等。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SysResponse5
sname
SysResponse
slabel
系统-提示
swaitTime
2000
sdescription
<p>下面是输入方式的演示，这里就比较快的看下效果吧。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SendText4
sname
SendText
slabel
用户-好的
swaitTime
1000
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SelfDemo
sname
SelfDemo
slabel
演示-设置输入框
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SelfDemo
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SelfDemo/@actions
sname
actions
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SelfDemo/@actions
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SelfDemo/@actions/@run
sname
run
sisSynchronized
false
sthrowException
true
suseOtherAction
false
svarScope
Local
sdisableGlobalContext
false
Scode
#$@text#$@
//清空人上的编辑设定
def age = world.getThing("xworker.demo.xworker.editor.Person/@label");
age.inputtype = "";
age.size = "";
age.rowspan = "";
age.colspan = "";
age.group = "";
age.inputattrs = "";
age.save();

def zhangsan = world.getThing("xworker.demo.xworker.editor.Zhansan");
zhangsan.age = "这是输入框";
zhangsan.save();
#$@text#$@
sinterpretationType
Action
screateLocalVarScope
false
ssaveReturn
false
sdebugLog
false
sdescriptors
xworker.lang.actions.Actions/@GroovyAction
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@EditThing11
sname
EditThing
slabel
演示-编辑张三
sthingPath
xworker.demo.xworker.editor.Zhansan
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SysResponse6
sname
SysResponse
slabel
系统-输入框。
swaitTime
5000
sdescription
<p>这是输入框，请看age属性的编辑控件。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SelfDemo1
sname
SelfDemo
slabel
演示-设置文本区
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SelfDemo
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SelfDemo1/@actions
sname
actions
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SelfDemo/@actions
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SelfDemo1/@actions/@run
sname
run
sisSynchronized
false
sthrowException
true
suseOtherAction
false
svarScope
Local
sdisableGlobalContext
false
Scode
#$@text#$@
//清空人上的编辑设定
def age = world.getThing("xworker.demo.xworker.editor.Person/@label");
age.inputtype = "textarea";
age.size = "";
age.rowspan = "";
age.colspan = "";
age.group = "";
age.inputattrs = "codeName=xml codeType=xml wrap=false fillBoth=true cols= rows=";
age.save();

def zhangsan = world.getThing("xworker.demo.xworker.editor.Zhansan");
def text = """
<?xml version="1.0" encoding="utf-8"?>

<thing name="Person" descriptors="xworker.lang.MetaDescriptor3" label="Person">
    <attribute name="name"></attribute>
    <attribute name="label" _xmeta_id_="label1"></attribute>
    <attribute name="age" _xmeta_id_="label" inputtype="textarea"></attribute>
    <attribute name="sex" inputtype="select">
        <value name="1" label="男" value="1"></value>
        <value name="2" label="女" value="2"></value>
    </attribute>
</thing>
""";
zhangsan.age = text.toString();
zhangsan.save();
#$@text#$@
sinterpretationType
Action
screateLocalVarScope
false
ssaveReturn
false
sdebugLog
false
sdescriptors
xworker.lang.actions.Actions/@GroovyAction
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@EditThing111
sname
EditThing
slabel
演示-编辑张三
sthingPath
xworker.demo.xworker.editor.Zhansan
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SysResponse61
sname
SysResponse
slabel
系统-文本区
swaitTime
5000
sdescription
<p>这是文本区，请看age属性的编辑控件。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SelfDemo11
sname
SelfDemo
slabel
演示-设置下拉框
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SelfDemo
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SelfDemo11/@actions
sname
actions
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SelfDemo/@actions
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SelfDemo11/@actions/@run
sname
run
sisSynchronized
false
sthrowException
true
suseOtherAction
false
svarScope
Local
sdisableGlobalContext
false
Scode
#$@text#$@
//清空人上的编辑设定
def age = world.getThing("xworker.demo.xworker.editor.Person/@label");
age.inputtype = "select";
age.size = "";
age.rowspan = "";
age.colspan = "";
age.group = "";
age.inputattrs = "";
age.put("extends", "xworker.demo.xworker.editor.Person/@sex");
age.save();

def zhangsan = world.getThing("xworker.demo.xworker.editor.Zhansan");
def text = """
""";
zhangsan.age = "1";
zhangsan.save();
#$@text#$@
sinterpretationType
Action
screateLocalVarScope
false
ssaveReturn
false
sdebugLog
false
sdescriptors
xworker.lang.actions.Actions/@GroovyAction
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@EditThing1111
sname
EditThing
slabel
演示-编辑张三
sthingPath
xworker.demo.xworker.editor.Zhansan
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SysResponse611
sname
SysResponse
slabel
系统-下拉框
swaitTime
5000
sdescription
<p>这是下拉框，请看age属性的编辑控件。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SelfDemo111
sname
SelfDemo
slabel
演示-设置真假
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SelfDemo
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SelfDemo111/@actions
sname
actions
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SelfDemo/@actions
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SelfDemo111/@actions/@run
sname
run
sisSynchronized
false
sthrowException
true
suseOtherAction
false
svarScope
Local
sdisableGlobalContext
false
Scode
#$@text#$@
//清空人上的编辑设定
def age = world.getThing("xworker.demo.xworker.editor.Person/@label");
age.inputtype = "truefalse";
age.size = "";
age.rowspan = "";
age.colspan = "";
age.group = "";
age.inputattrs = "";
age.put("extends", "");
age.save();

def zhangsan = world.getThing("xworker.demo.xworker.editor.Zhansan");
def text = """
""";
zhangsan.age = "true";
zhangsan.save();
#$@text#$@
sinterpretationType
Action
screateLocalVarScope
false
ssaveReturn
false
sdebugLog
false
sdescriptors
xworker.lang.actions.Actions/@GroovyAction
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@EditThing11111
sname
EditThing
slabel
演示-编辑张三
sthingPath
xworker.demo.xworker.editor.Zhansan
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SysResponse6111
sname
SysResponse
slabel
系统-真假
swaitTime
5000
sdescription
<p>这是真假，请看age属性的编辑控件。</p>
sisChapter
false
sthingPath
xworker.demo.xworker.editor.Zhansan
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse,xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SelfDemo1111
sname
SelfDemo
slabel
演示-设置HTML
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SelfDemo
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SelfDemo1111/@actions
sname
actions
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SelfDemo/@actions
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SelfDemo1111/@actions/@run
sname
run
sisSynchronized
false
sthrowException
true
suseOtherAction
false
svarScope
Local
sdisableGlobalContext
false
Scode
#$@text#$@
//清空人上的编辑设定
def age = world.getThing("xworker.demo.xworker.editor.Person/@label");
age.inputtype = "html";
age.size = "";
age.rowspan = "";
age.colspan = "";
age.group = "";
age.inputattrs = "";
age.put("extends", "");
age.save();

def zhangsan = world.getThing("xworker.demo.xworker.editor.Zhansan");
def text = """
<p>事物编辑器是编辑事物的界面，本演示介绍如何设置事物编辑器。</p>

<p><strong>要点：</strong></p>

<ul>
	<li>事物编辑器是根据描述者动态生成的。</li>
	<li>事物编辑器采用的是SWT的GridLayout。</li>
	<li>可以设置属性的编辑方式。</li>
	<li>事物编辑器可以自定义。</li>
	<li>属性编辑器可以自定义。</li>
</ul>

""";
zhangsan.age = text.toString();
zhangsan.save();
#$@text#$@
sinterpretationType
Action
screateLocalVarScope
false
ssaveReturn
false
sdebugLog
false
sdescriptors
xworker.lang.actions.Actions/@GroovyAction
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@EditThing111111
sname
EditThing
slabel
演示-编辑张三
sthingPath
xworker.demo.xworker.editor.Zhansan
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SysResponse61111
sname
SysResponse
slabel
系统-HTML
swaitTime
5000
sdescription
<p>这是HTML编辑，请看age属性的编辑控件。</p>
sisChapter
false
sthingPath
xworker.demo.xworker.editor.Zhansan
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse,xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SelfDemo11111
sname
SelfDemo
slabel
演示-设置事物选择
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SelfDemo
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SelfDemo11111/@actions
sname
actions
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SelfDemo/@actions
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SelfDemo11111/@actions/@run
sname
run
sisSynchronized
false
sthrowException
true
suseOtherAction
false
svarScope
Local
sdisableGlobalContext
false
Scode
#$@text#$@
//清空人上的编辑设定
def age = world.getThing("xworker.demo.xworker.editor.Person/@label");
age.inputtype = "dataSelector";
age.size = "";
age.rowspan = "";
age.colspan = "";
age.group = "";
age.inputattrs = "";
age.put("extends", "");
age.save();

def zhangsan = world.getThing("xworker.demo.xworker.editor.Zhansan");
def text = """
""";
zhangsan.age = "";
zhangsan.save();
#$@text#$@
sinterpretationType
Action
screateLocalVarScope
false
ssaveReturn
false
sdebugLog
false
sdescriptors
xworker.lang.actions.Actions/@GroovyAction
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@EditThing1111111
sname
EditThing
slabel
演示-编辑张三
sthingPath
xworker.demo.xworker.editor.Zhansan
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SysResponse611111
sname
SysResponse
slabel
系统-事物选择
swaitTime
5000
sdescription
<p>这是事物选择，请看age属性的编辑控件。</p>
sisChapter
false
sthingPath
xworker.demo.xworker.editor.Zhansan
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse,xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SysResponse611112
sname
SysResponse
slabel
系统-还有更多
swaitTime
3000
sdescription
<p>还有更多的输入方式这里就不一一说明了。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SendText5
sname
SendText
slabel
用户-如何找到帮助
swaitTime
1000
scontent
这么多输入方式，哪里可以找到帮助吗？
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@EditThing1111112
sname
EditThing
slabel
演示-编辑age属性
sthingPath
xworker.demo.xworker.editor.Person/@label
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SysResponse611113
sname
SysResponse
slabel
系统-讲解帮助
swaitTime
6000
sdescription
<p>如右面现在显示的编辑，当你选择一个输入方式后，如果不确定该怎么做，那么可以点输入扩展属性后面的*按钮，一般会有针对输入方式的帮助或设置表单等。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SendText6
sname
SendText
slabel
用户-大概理解输入方式了
swaitTime
1000
scontent
好的，我大概理解了怎么设置输入方式了。
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo5
sname
AutoDemo
slabel
自定义输入方式
sisChapter
true
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@AutoDemo
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo5/@SendText
sname
SendText
slabel
用户-需要更多
swaitTime
1000
scontent
但是如果预置的输入方式不够用，那我该怎么办？
sisChapter
true
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo5/@SysResponse
sname
SysResponse
slabel
系统-不理解
swaitTime
2000
sdescription
<p>怎么说？</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo5/@SendText1
sname
SendText
slabel
用户-比如从数据库中选择
swaitTime
1000
scontent
比如有表单中显示的是用户信息，我想从数据库中选择用户信息，并同时赋予多个值。
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo5/@SysResponse1
sname
SysResponse
slabel
系统-使用OpenWindow
swaitTime
3000
sdescription
<p>像你的需求可以使用弹出窗口（OpenWindow）输入方式。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo5/@SendText2
sname
SendText
slabel
用户-怎么使用
swaitTime
1000
scontent
应该怎么使用呢？
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo5/@SysResponse2
sname
SysResponse
slabel
系统-提示帮助
swaitTime
5000
sdescription
<p>你可以在输入方式中选择弹出窗口（OpenWindow），然后点击输入扩展属性的*号按钮，此时会弹出设置窗口，在这是窗口里有详细的帮助。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo5/@SendText3
sname
SendText
slabel
用户-有没有更灵活的方式
swaitTime
1000
scontent
除此之外，我还想有更多的需求，比如下拉列表的联动等，是否也可以实现。
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo5/@SysResponse3
sname
SysResponse
slabel
系统-可以实现
swaitTime
3000
sdescription
<p>这些都可以实现，只是这部分内容稍微难一些了，你需要了解SWT的知识以及事物管理器的更多知识。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo5/@SendText4
sname
SendText
slabel
用户-了解自定义
swaitTime
1000
scontent
好的，这些我日后再详细学习，最后能够说说如何自定义编辑器吗？
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo6
sname
AutoDemo
slabel
自定义编辑器
sisChapter
true
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@AutoDemo
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo6/@SysResponse
sname
SysResponse
slabel
系统-自定义编辑器
swaitTime
3000
sdescription
<p>事物表单和属性控件都可以自定义编辑器，这里我们简单讲一下如何设置事物的自定义编辑器。</p>
sisChapter
true
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo6/@SendText
sname
SendText
slabel
用户-好的
swaitTime
1000
scontent
好的。
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo6/@EditThing
sname
EditThing
slabel
演示-编辑人
sthingPath
xworker.demo.xworker.editor.Person
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo6/@ShowThingEditorAddChild
sname
ShowThingEditorAddChild
slabel
演示-显示添加子节点
swaitTime
1000
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@ShowThingEditorAddChild
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo6/@SelectAddChildItem
sname
SelectAddChildItem
slabel
演示-选择SWT节点
swaitTime
1000
sthingPath
xworker.lang.MetaDescriptor3/@SwtObject
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SelectAddChildItem
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo6/@SysResponse1
sname
SysResponse
slabel
系统-解释
swaitTime
5000
sdescription
<p>如右面的事物编辑器，在添加子节点下，可以看到SWT编辑器（SwtEditSetting)的子事物，添加了它就表示是自定义编辑器了。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo6/@SysResponse2
sname
SysResponse
slabel
系统-使用其他列子
swaitTime
2000
sdescription
<p>在这里我们使用其它例子。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo6/@EditThing1
sname
EditThing
slabel
演示-编辑selfEditor
sthingPath
xworker.demo.xworker.editor.SelfEditor
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo6/@SysResponse3
sname
SysResponse
slabel
系统-解说SelfEditor
swaitTime
6000
sdescription
<p>比如右面的事物使用了自定义的编辑器，它的控件引用了&rdquo;主页&ldquo;中的索引导航。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo6/@EditThing2
sname
EditThing
slabel
演示-编辑SelfEditorIns
sthingPath
xworker.demo.xworker.editor.SelfEditorExample
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo6/@SysResponse4
sname
SysResponse
slabel
系统-使用它编辑事物
swaitTime
6000
sdescription
<p>如果使用它作为描述者来编辑事物，那么就是右面右面现在的事物那样，显示的是自定义的编辑器（索引导航）。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo6/@SendText1
sname
SendText
slabel
用户-知道了
swaitTime
1000
scontent
谢谢你的演示，我现在知道了事物的编辑方式是多种多样的了。
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo6/@SysResponse5
sname
SysResponse
slabel
系统-是的
swaitTime
3000
sdescription
<p>是的。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo7
sname
AutoDemo
slabel
结束
sisChapter
true
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@AutoDemo
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo7/@SendText
sname
SendText
slabel
用户-表示需要理解
swaitTime
1000
scontent
今天讲的内容比较多，我需要好好消化一下。
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo7/@ShowHtml
sname
ShowHtml
slabel
演示-显示XWorker文档
surl
http://www.xworker.org/do?sc=xworker.app.orgweb.web.Index&id=123
sisWebControl
false
sisThing
false
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@ShowHtml
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo7/@SysResponse
sname
SysResponse
slabel
系统-提示看文档
swaitTime
5000
sdescription
<p>XWorker的网站也有事物管理器的详细使用文档，右面现在已经打开，它的地址是：<a href="http://www.xworker.org/do?sc=xworker.app.orgweb.web.Index&amp;id=123">http://www.xworker.org/do?sc=xworker.app.orgweb.web.Index&amp;id=123。</a></p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo7/@SendText1
sname
SendText
slabel
用户-谢谢
swaitTime
1000
scontent
谢谢，我会好好学习一下的。
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo7/@SysResponse1
sname
SysResponse
slabel
系统-再见
swaitTime
3000
sdescription
<p>好的，本次演示到此为止，再见。</p>
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SysResponse
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo7/@SendText2
sname
SendText
slabel
用户-下次见
swaitTime
1000
scontent
下次见。
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@SendText
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
