^1439805194720
@
sname
shell
stext
Browser Example
sNO_TRIM
false
sCLOSE
true
sTITLE
true
sMIN
true
sMAX
true
sBORDER
false
sRESIZE
true
sON_TOP
false
sTOOL
false
sNO_FOCUS
false
swidth
1024
sheight
768
scenterScreen
true
spack
false
smaximized
false
sfullScreen
false
sH_SCROLL
false
sV_SCROLL
false
sNO_BACKGROUND
false
sNO_MERGE_PAINTS
false
sNO_REDRAW_RESIZE
false
sNO_RADIO_GROUP
false
sEMBEDDED
false
sDOUBLE_BUFFERED
false
slabel
BrowserExample
scapture
false
senabled
true
sredraw
true
svisible
true
sxw_cl_global
false
sdescriptors
xworker.swt.widgets.Shell
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@shellFillLayout
sname
shellFillLayout
stype
SWT.HORIZONTAL
sxw_cl_global
false
sdescriptors
xworker.swt.Layouts/@FillLayout
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@mainTabFolder
sname
mainTabFolder
sstyle
TOP
sBORDER
false
sFLAT
false
sCLOSE
false
sSINGLE
false
sMRUVisible
false
ssimple
false
sH_SCROLL
false
sV_SCROLL
false
sNO_BACKGROUND
false
sNO_FOCUS
false
sNO_MERGE_PAINTS
false
sNO_REDRAW_RESIZE
false
sNO_RADIO_GROUP
false
sEMBEDDED
false
sDOUBLE_BUFFERED
false
scapture
false
senabled
true
sredraw
true
svisible
true
sxw_cl_global
false
sdescriptors
xworker.swt.Widgets/@CTabFolder
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
Sdescription
#$@text#$@
<p>这是浏览器显示的标签页。</p>
#$@text#$@
sth_mark
false
sdemo_waitTime
3000
@/@mainTabFolder/@browerTabItem
sname
browerTabItem
stext
Browser
sCLOSE
false
sdescriptors
xworker.swt.custom.CTabFolder/@CTabItem
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@mainTabFolder/@browerTabItem/@urlBrowser
sname
urlBrowser
surl
http://www.xworker.org
sMOZILLA
false
sWEBKIT
false
sjavascriptEnabled
true
sdescriptors
xworker.swt.Widgets/@Browser
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
Sdescription
#$@text#$@
<h3>使用Browser打开URL</h3>

<p>在browser的配置界面输入url属性，示例打开的是XWorker的主页<a href="http://www.xworker.org">http://www.xworker.org</a>。</p>

<p>&nbsp;</p>
#$@text#$@
sth_mark
true
sth_font
"|14|1|#000000"
sdemo_waitTime
7000
@/@mainTabFolder/@editorItem
sname
editorItem
stext
Editor
sCLOSE
false
sdescriptors
xworker.swt.custom.CTabFolder/@CTabItem
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@mainTabFolder/@editorItem/@editorSashForm
sname
editorSashForm
sstyle
HORIZONTAL
sSMOOTH
false
sweights
50,50
sBORDER
false
sH_SCROLL
false
sV_SCROLL
false
sNO_BACKGROUND
false
sNO_FOCUS
false
sNO_MERGE_PAINTS
false
sNO_REDRAW_RESIZE
false
sNO_RADIO_GROUP
false
sEMBEDDED
false
sDOUBLE_BUFFERED
false
scapture
false
senabled
true
sredraw
true
svisible
true
sxw_cl_global
false
sdescriptors
xworker.swt.Widgets/@SashForm
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@mainTabFolder/@editorItem/@editorSashForm/@editorBrowser
sname
editorBrowser
sMOZILLA
false
sWEBKIT
false
sjavascriptEnabled
true
sdescriptors
xworker.swt.Widgets/@Browser
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
Sdescription
#$@text#$@
<h3>编辑器示例</h3>

<p>浏览器初始不打开任何网页，url和text都不设置。</p>
#$@text#$@
sth_mark
true
sth_font
"|14|1|#000000"
sdemo_waitTime
5000
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm
sname
rightSashForm
sstyle
VERTICAL
sSMOOTH
false
sweights
50,50
sBORDER
false
sH_SCROLL
false
sV_SCROLL
false
sNO_BACKGROUND
false
sNO_FOCUS
false
sNO_MERGE_PAINTS
false
sNO_REDRAW_RESIZE
false
sNO_RADIO_GROUP
false
sEMBEDDED
false
sDOUBLE_BUFFERED
false
scapture
false
senabled
true
sredraw
true
svisible
true
sxw_cl_global
false
sdescriptors
xworker.swt.Widgets/@SashForm
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm/@htmlGroup
sname
htmlGroup
stext
setText
sstyle
SHADOW_ETCHED_IN
sBORDER
false
sH_SCROLL
false
sV_SCROLL
false
sNO_BACKGROUND
false
sNO_FOCUS
false
sNO_MERGE_PAINTS
false
sNO_REDRAW_RESIZE
false
sNO_RADIO_GROUP
false
sEMBEDDED
false
sDOUBLE_BUFFERED
false
scapture
false
senabled
true
sredraw
true
svisible
true
sxw_cl_global
false
sdescriptors
xworker.swt.Widgets/@Group
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm/@htmlGroup/@htmlGroupGridLayout
sname
htmlGroupGridLayout
smakeColumnsEqualWidth
false
smarginWidth
5
smarginHeight
5
smarginLeft
0
smarginTop
0
smarginRight
0
smarginBottom
0
shorizontalSpacing
5
sverticalSpacing
5
sdescriptors
xworker.swt.Layouts/@GridLayout
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm/@htmlGroup/@htmlText
sname
htmlText
sstyle
MULTI
sH_SCROLL
false
sV_SCROLL
false
sWRAP
false
sREAD_ONLY
false
sPASSWORD
false
sSEARCH
false
sCANCEL
false
sBORDER
false
salign
LEFT
Stext
#$@text#$@
<html>
	<body>
		<h1 id='myid'>HTML Document</h1>
		<h2>Set HTML content</h2>
		<ol>
			<li>Enter html data into the 'setText' pane</li>
			<li>Click on 'setText' to set the new content</li>
		</ol>
		<h2>Query or modify HTML document</h2>
		<ol>
		<li>Enter javascript commands into the 'execute' pane</li>
		<li>Click on 'execute' to run the javascript in the current document</li>
		</ol>
	</body>
</html>
#$@text#$@
scapture
false
senabled
true
sredraw
true
svisible
true
sxw_cl_global
false
sdescriptors
xworker.swt.Widgets/@Text
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
Sdescription
#$@text#$@
<h3>编辑器示例</h3>

<p>htmlText用来输入浏览器要显示的内容。</p>
#$@text#$@
sth_mark
true
sth_font
"|14|1|#000000"
sdemo_waitTime
7000
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm/@htmlGroup/@htmlText/@htmlTextGridData
sname
htmlTextGridData
sstyle
FILL_BOTH
shorizontalIndent
0
swidth
-1
sheight
-1
shorizontalAlignment
BEGINNING
sverticalAlignment
CENTER
shorizontalSpan
1
sverticalSpan
1
sgrabExcessHorizontalSpace
false
sgrabExcessVerticalSpace
false
sxw_cl_global
false
sdescriptors
xworker.swt.layout.LayoutDatas/@GridData
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm/@htmlGroup/@7342
sname
buttonComposite
sBORDER
false
sH_SCROLL
false
sV_SCROLL
false
sNO_BACKGROUND
false
sNO_FOCUS
false
sNO_MERGE_PAINTS
false
sNO_REDRAW_RESIZE
false
sNO_RADIO_GROUP
false
sEMBEDDED
false
sDOUBLE_BUFFERED
false
scapture
false
senabled
true
sredraw
true
svisible
true
sdescriptors
xworker.swt.Widgets/@Composite
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm/@htmlGroup/@7342/@7343
sname
buttonCompositeGridData
sstyle
FILL_HORIZONTAL
shorizontalIndent
0
swidth
-1
sheight
-1
shorizontalAlignment
END
sverticalAlignment
CENTER
shorizontalSpan
1
sverticalSpan
1
sgrabExcessHorizontalSpace
false
sgrabExcessVerticalSpace
false
sdescriptors
xworker.swt.layout.LayoutDatas/@GridData
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm/@htmlGroup/@7342/@7344
sname
buttonCompositeRowLayout
sfill
false
sjustify
false
smarginWidth
0
smarginHeight
0
smarginLeft
3
smarginTop
3
smarginRight
3
smarginBottom
3
spack
true
sspacing
3
stype
SWT.HORIZONTAL
swrap
true
sdescriptors
xworker.swt.Layouts/@RowLayout
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm/@htmlGroup/@7342/@7345
sname
setTextButton
stext
setText
stype
SWT.PUSH
sflat
false
sborder
false
sselected
false
scapture
false
senabled
true
sredraw
true
svisible
true
sxw_cl_global
false
sdescriptors
xworker.swt.Widgets/@Button
sth_createIndex
false
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm/@htmlGroup/@7342/@7345/@7346
sname
RowData
sexclude
false
swidth
80
sheight
-1
sdescriptors
xworker.swt.layout.LayoutDatas/@RowData
sth_createIndex
false
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm/@htmlGroup/@7342/@7345/@7347
sname
Listeners
sdescriptors
xworker.swt.widgets.Widget/@Listeners
sth_createIndex
false
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm/@htmlGroup/@7342/@7345/@7347/@7348
sname
setTextButtonSelection
stype
Selection
sdescriptors
xworker.swt.events.Listeners/@listeners/@Listener
sth_createIndex
false
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm/@htmlGroup/@7342/@7345/@7347/@7348/@setTextGroovy
sname
setTextGroovy
sisSynchronized
false
sthrowException
true
suseOtherAction
false
svarScope
Local
sdisableGlobalContext
false
scode
editorBrowser.setText(htmlText.getText());
Sdescription
#$@text#$@
<h3>编辑器示例</h3>

<p>这是设置浏览器文本的按钮事件处理，从htmlText取值并赋给浏览器。</p>
#$@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
true
sth_font
"|14|1|#000000"
sdemo_waitTime
7000
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm/@scriptGroup
sname
scriptGroup
stext
execute
sstyle
SHADOW_ETCHED_IN
sBORDER
false
sH_SCROLL
false
sV_SCROLL
false
sNO_BACKGROUND
false
sNO_FOCUS
false
sNO_MERGE_PAINTS
false
sNO_REDRAW_RESIZE
false
sNO_RADIO_GROUP
false
sEMBEDDED
false
sDOUBLE_BUFFERED
false
scapture
false
senabled
true
sredraw
true
svisible
true
sxw_cl_global
false
sdescriptors
xworker.swt.Widgets/@Group
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm/@scriptGroup/@scriptGroupGridLayout
sname
scriptGroupGridLayout
smakeColumnsEqualWidth
false
smarginWidth
5
smarginHeight
5
smarginLeft
0
smarginTop
0
smarginRight
0
smarginBottom
0
shorizontalSpacing
5
sverticalSpacing
5
sdescriptors
xworker.swt.Layouts/@GridLayout
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm/@scriptGroup/@scriptText
sname
scriptText
sstyle
MULTI
sH_SCROLL
false
sV_SCROLL
false
sWRAP
false
sREAD_ONLY
false
sPASSWORD
false
sSEARCH
false
sCANCEL
false
sBORDER
false
salign
LEFT
Stext
#$@text#$@
var node = document.createElement('P');
var text = document.createTextNode('Content inserted!');
node.appendChild(text);
document.getElementById('myid').appendChild(node);

document.bgColor = 'yellow';
#$@text#$@
scapture
false
senabled
true
sredraw
true
svisible
true
sxw_cl_global
false
sdescriptors
xworker.swt.Widgets/@Text
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
Sdescription
#$@text#$@
<h3>编辑器示例</h3>

<p>在这里可以编写要执行的脚本。</p>
#$@text#$@
sth_mark
true
sth_font
"|14|1|#000000"
sdemo_waitTime
7000
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm/@scriptGroup/@scriptText/@scriptTextGridData
sname
scriptTextGridData
sstyle
FILL_BOTH
shorizontalIndent
0
swidth
-1
sheight
-1
shorizontalAlignment
BEGINNING
sverticalAlignment
CENTER
shorizontalSpan
1
sverticalSpan
1
sgrabExcessHorizontalSpace
false
sgrabExcessVerticalSpace
false
sxw_cl_global
false
sdescriptors
xworker.swt.layout.LayoutDatas/@GridData
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm/@scriptGroup/@7762
sname
buttonComposite
sBORDER
false
sH_SCROLL
false
sV_SCROLL
false
sNO_BACKGROUND
false
sNO_FOCUS
false
sNO_MERGE_PAINTS
false
sNO_REDRAW_RESIZE
false
sNO_RADIO_GROUP
false
sEMBEDDED
false
sDOUBLE_BUFFERED
false
scapture
false
senabled
true
sredraw
true
svisible
true
sdescriptors
xworker.swt.Widgets/@Composite
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm/@scriptGroup/@7762/@7763
sname
buttonCompositeGridData
sstyle
FILL_HORIZONTAL
shorizontalIndent
0
swidth
-1
sheight
-1
shorizontalAlignment
END
sverticalAlignment
CENTER
shorizontalSpan
1
sverticalSpan
1
sgrabExcessHorizontalSpace
false
sgrabExcessVerticalSpace
false
sdescriptors
xworker.swt.layout.LayoutDatas/@GridData
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm/@scriptGroup/@7762/@7764
sname
buttonCompositeRowLayout
sfill
false
sjustify
false
smarginWidth
0
smarginHeight
0
smarginLeft
3
smarginTop
3
smarginRight
3
smarginBottom
3
spack
true
sspacing
3
stype
SWT.HORIZONTAL
swrap
true
sdescriptors
xworker.swt.Layouts/@RowLayout
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm/@scriptGroup/@7762/@7765
sname
executeButton
stext
execute
stype
SWT.PUSH
sflat
false
sborder
false
sselected
false
scapture
false
senabled
true
sredraw
true
svisible
true
sxw_cl_global
false
sdescriptors
xworker.swt.Widgets/@Button
sth_createIndex
false
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm/@scriptGroup/@7762/@7765/@7766
sname
RowData
sexclude
false
swidth
80
sheight
-1
sdescriptors
xworker.swt.layout.LayoutDatas/@RowData
sth_createIndex
false
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm/@scriptGroup/@7762/@7765/@7767
sname
Listeners
sdescriptors
xworker.swt.widgets.Widget/@Listeners
sth_createIndex
false
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm/@scriptGroup/@7762/@7765/@7767/@7768
sname
executeButtonSelection
stype
Selection
sdescriptors
xworker.swt.events.Listeners/@listeners/@Listener
sth_createIndex
false
@/@mainTabFolder/@editorItem/@editorSashForm/@rightSashForm/@scriptGroup/@7762/@7765/@7767/@7768/@executeGroovy
sname
executeGroovy
sisSynchronized
false
sthrowException
true
suseOtherAction
false
svarScope
Local
sdisableGlobalContext
false
scode
editorBrowser.execute(scriptText.getText());
Sdescription
#$@text#$@
<h3>编辑器示例</h3>

<p>这是执行脚本按钮的事件，使用浏览器执行脚本。</p>
#$@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
true
sth_font
"|14|1|#000000"
