^1446187518655
@
sname
NormalControls
slabel
SWT常用控件
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/@ShowThingDescription
sname
ShowThingDescription
slabel
演示-介绍常用个空间
swaitTime
10000
Sdescription
#$@text#$@
<h3>常用SWT控件有：</h3>

<ul>
	<li><strong>Shell</strong><br />
	窗口，每个SWT应用都至少有一个窗口。<br />
	&nbsp;</li>
	<li><strong>Composite</strong><br />
	面板，布局用。<br />
	&nbsp;</li>
	<li><strong>Text、StyledText</strong><br />
	输入框。<br />
	&nbsp;</li>
	<li><strong>Button</strong><br />
	按钮。<br />
	&nbsp;</li>
	<li><strong>Browser</strong><br />
	浏览器。<br />
	&nbsp;</li>
	<li><strong>SashForm和TabFolder</strong><br />
	辅助布局用控件。</li>
</ul>
#$@text#$@
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@ShowThingDescription
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo/@ShowComposite
sname
ShowComposite
slabel
演示-显示示例
scompositePath
xworker.swt.help.base.ShellExample1/@composite
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@ShowComposite
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo/@SysResponse
sname
SysResponse
slabel
解说-解释示例
swaitTime
20000
Sdescription
#$@text#$@
<p>现在右面显示的将解说的常用控件的示例，可以操作，20秒后自动进入下一步解说。</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
@/@Shell介绍
sname
Shell介绍
sisChapter
true
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@AutoDemo
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@Shell介绍/@EditThing
sname
EditThing
slabel
演示-编辑Shell
sthingPath
xworker.swt.help.base.ShellExample1
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@Shell介绍/@SysResponse
sname
SysResponse
slabel
解说-Shell的用途
swaitTime
5000
Sdescription
#$@text#$@
<p>Shell窗口是SWT的基本控件，编写一个SWT程序首先要有一个窗口。</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
@/@Shell介绍/@SysResponse1
sname
SysResponse
slabel
解说-标题
swaitTime
5000
Sdescription
#$@text#$@
<p>从窗口的标题栏说起，每个窗口都应该有一个标题，它用text属性设置，如右面所示。</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
@/@Shell介绍/@SysResponse2
sname
SysResponse
slabel
解说-标题栏的按钮
swaitTime
5000
Sdescription
#$@text#$@
<p>还可以设置标题栏的最小化、最大化或关闭按钮等，见CLOSE、MAX、MIN等属性。</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
@/@Shell介绍/@SysResponse3
sname
SysResponse
slabel
解说-窗口大小和是否可缩放
swaitTime
5000
Sdescription
#$@text#$@
<p>窗口的大小和是否可缩放见width、heigh和RESIZE属性。</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
@/@Shell介绍/@SysResponse4
sname
SysResponse
slabel
解说-窗口样式等
swaitTime
5000
Sdescription
#$@text#$@
<p>窗口是否总是在最前面，以及它是否是模态的（焦点总是保持在此窗口），可以设置ON_TOP 和style属性。</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
@/@Shell介绍/@SysResponse5
sname
SysResponse
slabel
解说-其它属性
swaitTime
5000
Sdescription
#$@text#$@
<p>其它是一些可选属性，根据属性名字应该能够猜到用途。</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
@/@AutoDemo1
sname
AutoDemo
slabel
Composite
sisChapter
true
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@AutoDemo
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo1/@EditThing
sname
EditThing
slabel
演示-编辑Composite
sthingPath
xworker.swt.help.base.ShellExample1/@composite
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo1/@SysResponse
sname
SysResponse
slabel
解说-composite
swaitTime
5000
Sdescription
#$@text#$@
<p>Composite面板，是用来摆放其它控件容器，一般用于布局。</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
@/@AutoDemo1/@SysResponse1
sname
SysResponse
slabel
解说-shell和composite
swaitTime
7000
Sdescription
#$@text#$@
<p>Shell虽然也可以直接包含多个控件，但我们建议Shell使用FillLayout，其中只包含一个Composite，然后在Composite再嵌入其它控件。</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
@/@AutoDemo1/@SysResponse2
sname
SysResponse
slabel
解释-shell使用composite好处
swaitTime
5000
Sdescription
#$@text#$@
<p>因为在xworker中，Composite的模型非常用于实现重用，以及其它用途里。</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
@/@AutoDemo1/@SysResponse3
sname
SysResponse
slabel
解释-compsoite的用途
swaitTime
5000
Sdescription
#$@text#$@
<p>比如在当前演示里可以运行这个示例，是通过给定Composite路径来实现的。</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
@/@AutoDemo2
sname
AutoDemo
slabel
Text和StyledText
sisChapter
true
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@AutoDemo
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo2/@EditThing
sname
EditThing
slabel
演示-编辑text
sthingPath
xworker.swt.help.base.ShellExample1/@composite/@urlText
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo2/@SysResponse
sname
SysResponse
slabel
解说-text
swaitTime
5000
Sdescription
#$@text#$@
<p>Text是文本输入框或密码输入框，通常用来输入一行文本。</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
@/@AutoDemo2/@SysResponse3
sname
SysResponse
slabel
解说-text的作用
swaitTime
5000
Sdescription
#$@text#$@
<p>当前的text在演示中是URL地址输入框。</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
@/@AutoDemo2/@EditThing1
sname
EditThing
slabel
演示-编辑styledText
sthingPath
xworker.swt.help.base.ShellExample1/@composite/@tabFolder/@codeTabItem/@sashForm/@codeText1
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
解说-StyledText
swaitTime
5000
Sdescription
#$@text#$@
<p>StyledText通常用来输入多行文本。</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
@/@AutoDemo2/@SysResponse4
sname
SysResponse
slabel
解说-当前styledText的作用
swaitTime
5000
Sdescription
#$@text#$@
<p>当前右边显示的StyledText在示例中讲演示浏览器中代码。</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
@/@AutoDemo2/@EditThing2
sname
EditThing
slabel
演示-编辑Colorer
sthingPath
xworker.swt.help.base.ShellExample1/@composite/@tabFolder/@codeTabItem/@sashForm/@codeText1/@Colorer
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo2/@SysResponse2
sname
SysResponse
slabel
解说-colorer
swaitTime
5000
Sdescription
#$@text#$@
<p>StyledText可以使用Colorer来进行代码着色。</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
@/@AutoDemo2/@SysResponse5
sname
SysResponse
slabel
解说-coloder的作用
swaitTime
5000
Sdescription
#$@text#$@
<p>右面的Colorder设置代码为html，即为html文本着色。</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
sname
AutoDemo
slabel
Button
sisChapter
true
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@AutoDemo
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@EditThing
sname
EditThing
slabel
演示-编辑button
sthingPath
xworker.swt.help.base.ShellExample1/@composite/@openUrlButton
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@SysResponse
sname
SysResponse
slabel
解说-按钮
swaitTime
5000
Sdescription
#$@text#$@
<p>按钮也是常用的控件。</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/@SysResponse3
sname
SysResponse
slabel
解说-按钮作用
swaitTime
5000
Sdescription
#$@text#$@
<p>右面按钮在演示中是Go按钮，在地址框输入地址后，点击Go按钮可以在浏览器中显示。</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/@EditThing1
sname
EditThing
slabel
演示-编辑按钮事件
sthingPath
xworker.swt.help.base.ShellExample1/@composite/@openUrlButton/@Listeners/@openUrlButtonSelection/@GroovyAction
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo3/@SysResponse1
sname
SysResponse
slabel
解说-解说按钮的事件
swaitTime
5000
Sdescription
#$@text#$@
<p>按钮一般要处理点击事件，在SWT中是selection事件。</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/@EditThing2
sname
EditThing
slabel
演示-编辑browser
sthingPath
xworker.swt.help.base.ShellExample1/@composite/@tabFolder/@browserTabItem/@browser
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
解说-浏览器
swaitTime
5000
Sdescription
#$@text#$@
<p>浏览器控件也是比较常用控件，用来显示网页。</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/@SysResponse4
sname
SysResponse
slabel
解说-浏览器在示例
swaitTime
5000
Sdescription
#$@text#$@
<p>右面的浏览器节点在示例中用于网页内容。</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
@/@AutoDemo4
sname
AutoDemo
slabel
SashForm和TabFolder
sisChapter
true
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@AutoDemo
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@EditThing
sname
EditThing
slabel
演示-编辑标签页
sthingPath
xworker.swt.help.base.ShellExample1/@composite/@tabFolder
sisChapter
false
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
解说-tabFodler
swaitTime
5000
Sdescription
#$@text#$@
<p>CTabFodler是标签页。</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
@/@AutoDemo4/@SysResponse3
sname
SysResponse
slabel
解说-tabFolder作用
swaitTime
5000
Sdescription
#$@text#$@
<p>右面的TabFolder节点在示例中包含了浏览器和代码两个标签页。</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
@/@AutoDemo4/@SysResponse1
sname
SysResponse
slabel
解说-CTabItem
swaitTime
5000
Sdescription
#$@text#$@
<p>通过添加TabItem来添加标签页。</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
@/@AutoDemo4/@EditThing1
sname
EditThing
slabel
演示-编辑SashForm
sthingPath
xworker.swt.help.base.ShellExample1/@composite/@tabFolder/@codeTabItem/@sashForm
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo4/@SysResponse2
sname
SysResponse
slabel
解说-SashForm
swaitTime
5000
Sdescription
#$@text#$@
<p>SashForm可以实现上下或左右两个部分的空间可调整，一般用于布局。</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
@/@AutoDemo4/@SysResponse4
sname
SysResponse
slabel
解说-SashForm作用
swaitTime
5000
Sdescription
#$@text#$@
<p>在示例中，SashForm把两个代码文本框分成了两个上下部分，可以调整它们各自所占的比例。</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
@/@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/@ShowComposite
sname
ShowComposite
slabel
演示-显示示例
scompositePath
xworker.swt.help.base.ShellExample1/@composite
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@ShowComposite
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo5/@SysResponse
sname
SysResponse
slabel
解说-总结
swaitTime
5000
Sdescription
#$@text#$@
<p>以上就是常用控件的说明，现在右面运行的是这些常用控件示例，可以操作它。</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
