^1446170435351
@
sname
SwtBase
slabel
SWT基础
sisChapter
true
sdescriptors
xworker.ide.tools.autodemo.AutoDemo
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@baseinfo
sname
baseinfo
slabel
介绍SWT
sisChapter
true
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@AutoDemo
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@baseinfo/@ShowThingDescription
sname
ShowThingDescription
slabel
演示-展示SWT的基本信息
swaitTime
7000
Sdescription
#$@text#$@
<h3>SWT简介</h3>

<p>&nbsp;&nbsp;&nbsp;&nbsp;SWT是Eclipse下的一个开源软件，用于编写和用户界面相关的程序。</p>

<p>&nbsp;&nbsp;&nbsp; SWT的网址是：<a href="http://www.eclipse.org/swt/">http://www.eclipse.org/swt/。</a></p>
#$@text#$@
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@ShowThingDescription
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@baseinfo/@SysResponse
sname
SysResponse
slabel
系统-说右面将要打开SWT的网址
Sdescription
#$@text#$@
<p>现在右面显示的就是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
@/@baseinfo/@ShowHtml
sname
ShowHtml
slabel
演示-打开SWT网址
swaitTime
10000
surl
http://www.eclipse.org/swt/
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
@/@AutoDemo
sname
AutoDemo
slabel
SWT的模型基础
sisChapter
true
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@AutoDemo
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo/@SysResponse
sname
SysResponse
slabel
系统-解释SWT模型
swaitTime
5000
Sdescription
#$@text#$@
<p>XWorker很早就把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
@/@AutoDemo/@SysResponse1
sname
SysResponse
slabel
系统-解释XWorker就是用SWT开发的
swaitTime
5000
Sdescription
#$@text#$@
<p>比如XWorker的用户界面就是使用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
@/@AutoDemo/@SysResponse2
sname
SysResponse
slabel
系统-介绍SWT模型的基本知识
swaitTime
5000
Sdescription
#$@text#$@
<p>现在，我将介绍一下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
@/@AutoDemo/@CreateThingDialog
sname
CreateThingDialog
slabel
演示-创建Shell的窗口
sdescriptorPath
xworker.swt.widgets.Shell
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@CreateThingDialog
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo/@SysResponse3
sname
SysResponse
slabel
系统-创建Shell模型
swaitTime
5000
Sdescription
#$@text#$@
<p>首先，当我们创建一个SWT程序时，通常创建的是Shell模型。</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
@/@AutoDemo/@SysResponse4
sname
SysResponse
slabel
系统-解释Shell的路径
swaitTime
5000
Sdescription
#$@text#$@
<p>Shell模型的路径是xworker.swt.widgets.Shell，它在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
@/@AutoDemo/@EditThing
sname
EditThing
slabel
演示-编辑示例
sthingPath
xworker.swt.help.base.ShellExample
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo/@SysResponse5
sname
SysResponse
slabel
系统-解释示例
swaitTime
5000
Sdescription
#$@text#$@
<p>右边现在打开的是一个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
@/@AutoDemo/@SysResponse6
sname
SysResponse
slabel
系统-解释如何运行
swaitTime
5000
Sdescription
#$@text#$@
<p>如果选择根节点，即选择Shell节点，那么在事物编辑器的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
@/@AutoDemo1
sname
AutoDemo
slabel
SWT模型的要素
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
5000
Sdescription
#$@text#$@
<p>现在以这个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
@/@AutoDemo1/@EditThing
sname
EditThing
slabel
演示-显示Shell节点
sthingPath
xworker.swt.help.base.ShellExample
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo1/@SysResponse1
sname
SysResponse
slabel
解说-shell节点
swaitTime
5000
Sdescription
#$@text#$@
<p>SWT模型的主要构成是SWT本身的控件模型，比如当前的Shell模型。</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/@EditThing1
sname
EditThing
slabel
演示-显示菜单模型
sthingPath
xworker.swt.help.base.ShellExample/@shellMenu
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo1/@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
@/@AutoDemo1/@EditThing2
sname
EditThing
slabel
演示-显示TabFolder模型
sthingPath
xworker.swt.help.base.ShellExample/@tabFolder
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo1/@SysResponse3
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/@EditThing3
sname
EditThing
slabel
演示-显示事件模型
sthingPath
xworker.swt.help.base.ShellExample/@tabFolder/@theadTab/@threadComposite/@buttonComposite/@refreshButton/@listeners/@refreshButtonSelection
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo1/@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
@/@AutoDemo1/@SysResponse5
sname
SysResponse
slabel
解说-控件和事件是SWT的基本模型
swaitTime
5000
Sdescription
#$@text#$@
<p>控件模型和事件模型是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
@/@AutoDemo1/@EditThing4
sname
EditThing
slabel
演示-显示Groovy动作
sthingPath
xworker.swt.help.base.ShellExample/@tabFolder/@theadTab/@threadComposite/@buttonComposite/@refreshButton/@listeners/@refreshButtonSelection/@GroovyAction
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo1/@SysResponse6
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/@SysResponse7
sname
SysResponse
slabel
解说-解释groovy
swaitTime
5000
Sdescription
#$@text#$@
<p>比如当前节点显示的是一个Groovy脚本，用Groovy代码来编写按钮的事件处理。</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/@EditThing5
sname
EditThing
slabel
演示-显示退出的动作模型
sthingPath
xworker.swt.help.base.ShellExample/@shellMenu/@fileMenuItem/@fileSubMenu/@exitMenuItem/@listeners/@exitMenuitem/@shellDispose
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo1/@SysResponse8
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/@SysResponse9
sname
SysResponse
slabel
解说-解释退出模型
swaitTime
5000
Sdescription
#$@text#$@
<p>比如当前选择的就是销毁一个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
@/@AutoDemo1/@EditThing41
sname
EditThing
slabel
演示-显示Groovy动作
sthingPath
xworker.swt.help.base.ShellExample/@tabFolder/@theadTab/@threadComposite/@buttonComposite/@refreshButton/@listeners/@refreshButtonSelection/@GroovyAction
sisChapter
false
sdescriptors
xworker.ide.tools.autodemo.AutoDemo/@EditThing
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@AutoDemo1/@SysResponse10
sname
SysResponse
slabel
解说-脚本中的变量
swaitTime
5000
Sdescription
#$@text#$@
<p>如果动作模型是一个代码，那么如何在代码中访问模型对应的SWT实际的Java对象呢？</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/@SysResponse11
sname
SysResponse
slabel
解说-控件名为变量名
swaitTime
7000
Sdescription
#$@text#$@
<p>通常情况下，在一个模型的名称（name）属性就是代码可以访问的变量名，而类型通常是模型对表示的那个Java对象的类型。</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
SWT模型介绍结束
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
5000
Sdescription
#$@text#$@
<p>以上就是关于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
