@xworker.swt.ide.worldexplorer.swt.dialogs.EditThingIdDialog
sname
EditThingIdDialog
slabel
EditThingIdDialog
sdescriptors
xworker.swt.widgets.Display
@xworker.swt.ide.worldexplorer.swt.dialogs.EditThingIdDialog/@shellt
sname
shell
stext
res:res.w_exp:editThingId编辑事物标识
sstyle
APPLICATION_MODAL
sNO_TRIM
false
sCLOSE
true
sTITLE
true
sMIN
false
sMAX
false
sBORDER
false
sRESIZE
false
sON_TOP
false
sTOOL
false
sNO_FOCUS
false
swidth
400
sheight
300
scenterScreen
true
spack
true
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
shell
scapture
false
senabled
true
sredraw
true
svisible
true
sid
shellt
sdescriptors
xworker.swt.widgets.Display/@Shell
@xworker.swt.ide.worldexplorer.swt.dialogs.EditThingIdDialog/@shellt/@shellGridLaout
sname
shellGridLaout
snumColumns
2
smakeColumnsEqualWidth
false
smarginWidth
5
smarginHeight
5
smarginLeft
0
smarginTop
0
smarginRight
0
smarginBottom
0
shorizontalSpacing
5
sverticalSpacing
5
sid
shellGridLaout
slabel
shellGridLaout
sdescriptors
xworker.swt.Layouts/@GridLayout
@xworker.swt.ide.worldexplorer.swt.dialogs.EditThingIdDialog/@shellt/@dataObjectNameLabel
sname
idLabel
stext
res:res.w_exp:thingLabelId事物标识：
stype
HORIZONTAL
sshadow
SHADOW_OUT
sBORDER
false
salignment
LEFT
scapture
false
senabled
true
sredraw
true
svisible
true
sid
dataObjectNameLabel
slabel
idLabel
sdescriptors
xworker.swt.Widgets/@Label
@xworker.swt.ide.worldexplorer.swt.dialogs.EditThingIdDialog/@shellt/@dataObjectNameText
sname
idText
sstyle
SINGLE
sH_SCROLL
false
sV_SCROLL
false
sWRAP
false
sREAD_ONLY
false
sPASSWORD
false
sSEARCH
false
sCANCEL
false
sBORDER
true
salign
LEFT
scapture
false
senabled
true
sredraw
true
svisible
true
sid
dataObjectNameText
slabel
idText
sdescriptors
xworker.swt.Widgets/@Text
@xworker.swt.ide.worldexplorer.swt.dialogs.EditThingIdDialog/@shellt/@dataObjectNameText/@dataObjectNameTextGridData
sname
idTextGridData
shorizontalIndent
0
swidth
200
sheight
-1
shorizontalAlignment
BEGINNING
sverticalAlignment
CENTER
shorizontalSpan
1
sverticalSpan
1
sgrabExcessHorizontalSpace
false
sgrabExcessVerticalSpace
false
sid
dataObjectNameTextGridData
slabel
idTextGridData
sdescriptors
xworker.swt.Commons/@GridData
@xworker.swt.ide.worldexplorer.swt.dialogs.EditThingIdDialog/@shellt/@buttonCell
sname
buttonCell
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
slabel
buttonCell
sid
buttonCell
sdescriptors
xworker.swt.Widgets/@Composite
@xworker.swt.ide.worldexplorer.swt.dialogs.EditThingIdDialog/@shellt/@buttonCell/@buttonCellGridData
sname
buttonCellGridData
sstyle
FILL_HORIZONTAL
shorizontalIndent
0
swidth
-1
sheight
-1
shorizontalAlignment
CENTER
sverticalAlignment
CENTER
shorizontalSpan
2
sverticalSpan
1
sgrabExcessHorizontalSpace
false
sgrabExcessVerticalSpace
false
sid
buttonCellGridData
slabel
buttonCellGridData
sdescriptors
xworker.swt.Commons/@GridData
@xworker.swt.ide.worldexplorer.swt.dialogs.EditThingIdDialog/@shellt/@buttonCell/@buttonCellRowLayout
sname
buttonCellRowLayout
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
sid
buttonCellRowLayout
slabel
buttonCellRowLayout
sdescriptors
xworker.swt.Layouts/@RowLayout
@xworker.swt.ide.worldexplorer.swt.dialogs.EditThingIdDialog/@shellt/@buttonCell/@okButton
sname
okButton
stext
res:res.w_exp:okButton:确定（&O）
stype
SWT.PUSH
sflat
false
sborder
false
sselected
false
scapture
false
senabled
true
sredraw
true
svisible
true
sxw_cl_global
false
sid
okButton
slabel
okButton
sdescriptors
xworker.swt.Widgets/@Button
@xworker.swt.ide.worldexplorer.swt.dialogs.EditThingIdDialog/@shellt/@buttonCell/@okButton/@listeners
sname
listeners
sid
listeners
slabel
listeners
sdescriptors
xworker.swt.events.Listeners/@listeners
@xworker.swt.ide.worldexplorer.swt.dialogs.EditThingIdDialog/@shellt/@buttonCell/@okButton/@listeners/@okButtonSelection
sname
okButtonSelection
stype
Selection
sid
okButtonSelection
slabel
okButtonSelection
sdescriptors
xworker.swt.events.Listeners/@listeners/@Listener
@xworker.swt.ide.worldexplorer.swt.dialogs.EditThingIdDialog/@shellt/@buttonCell/@okButton/@listeners/@okButtonSelection/@GroovyAction
sname
GroovyAction
slabel
GroovyAction
sisSynchronized
false
sthrowException
false
suseOtherAction
false
svarScope
Global
sdisableGlobalContext
false
Scode
#$@text#$@
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.MessageBox;
import org.eclipse.swt.widgets.TreeItem;

//校验数据输入
if(!model.doAction("validate", actionContext)) return;

//创建新的对象
def values = model.doAction("getValue", actionContext);
thing.metadata.setId(values.id);

shell.dispose();
#$@text#$@
sid
GroovyAction
sdescriptors
xworker.lang.actions.Actions/@GroovyAction
@xworker.swt.ide.worldexplorer.swt.dialogs.EditThingIdDialog/@shellt/@buttonCell/@cancelButton
sname
cancelButton
stext
res:res.w_exp:cancelButton:取消（&C）
stype
SWT.PUSH
sflat
false
sborder
false
sselected
false
scapture
false
senabled
true
sredraw
true
svisible
true
sxw_cl_global
false
sid
cancelButton
slabel
cancelButton
sdescriptors
xworker.swt.Widgets/@Button
@xworker.swt.ide.worldexplorer.swt.dialogs.EditThingIdDialog/@shellt/@buttonCell/@cancelButton/@listeners
sname
listeners
sid
listeners
slabel
listeners
sdescriptors
xworker.swt.events.Listeners/@listeners
@xworker.swt.ide.worldexplorer.swt.dialogs.EditThingIdDialog/@shellt/@buttonCell/@cancelButton/@listeners/@cancelButtonSelection
sname
cancelButtonSelection
stype
Selection
sid
cancelButtonSelection
slabel
cancelButtonSelection
sdescriptors
xworker.swt.events.Listeners/@listeners/@Listener
@xworker.swt.ide.worldexplorer.swt.dialogs.EditThingIdDialog/@shellt/@buttonCell/@cancelButton/@listeners/@cancelButtonSelection/@GroovyAction
sname
GroovyAction
slabel
GroovyAction
sisSynchronized
false
sthrowException
false
suseOtherAction
false
svarScope
Global
scode
shell.dispose();
sid
GroovyAction
sdescriptors
xworker.lang.actions.Actions/@GroovyAction
@xworker.swt.ide.worldexplorer.swt.dialogs.EditThingIdDialog/@shellt/@Models
sname
Models
sid
Models
slabel
Models
sdescriptors
xworker.swt.Widgets/@Models
@xworker.swt.ide.worldexplorer.swt.dialogs.EditThingIdDialog/@shellt/@Models/@model
sname
model
sdataType
Map
svalidate
true
sfocus
false
sfocusColor
"#E8FAFF"
sdefaultSelection
okButtonSelection
LvalidateOnBlur
false
LallowDecimals
false
LallowNegative
false
sid
model
slabel
model
sdescriptors
xworker.swt.model.Models/@Model
@xworker.swt.ide.worldexplorer.swt.dialogs.EditThingIdDialog/@shellt/@Models/@model/@name
sname
id
sswtControl
idText
spropertyName
id
svalidate
true
sfocus
false
sfocusColor
"#E8FAFF"
LvalidateOnBlur
false
LallowDecimals
false
LallowNegative
false
sid
name
slabel
id
sdescriptors
xworker.swt.model.Model/@Model
