All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xworker.swt.xwidgets.DemoThing.xer.txt Maven / Gradle / Ivy

^1447813739888
@
sname
DemoThing
slabel
DemoThing
sdescriptors
xworker.lang.MetaDescriptor3
sextends
xworker.swt.layout.LayoutDatas
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@

事物演示用控件,是一个TabFloder,第一个TabItem是事物的编辑器,第二个TabItem是描述者的编辑器,第三个TabItem是事物的关系。

保存的变量

    创建后保存和返回的是actions。

主要方法

  • setThing(Object thing)
    设置要演示的事物,可以是事物或事物的路径。
     
  • getControl
    返回TabFolder变量。
#$@text#$@ snotXmlAttribute false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@actions sname actions sdescriptors xworker.lang.MetaDescriptor3/@actions sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@actions/@create sname create sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true suseInnerJava false souterClassName xworker.swt.xwidgets.DemoThing smethodName create sdisableGlobalContext false sattributeTemplate false sinterpretationType Action svarScope Global screateLocalVarScope false ssaveReturn false sdebugLog false sdescriptors xworker.lang.actions.Actions/@JavaAction sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@name sname name sshowLabel true sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true snotXmlAttribute false sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@label sname label sshowLabel true sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true snotXmlAttribute false sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@compositePath sname thing sinputtype dataSelector sshowLabel true ssize 60 sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true snotXmlAttribute false sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@description sname description sinputtype html sshowLabel true sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true snotXmlAttribute false sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder sname demoTabFolder sdescriptors xworker.swt.widgets.TabFolder sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@Listeners sname Listeners sdescriptors xworker.swt.widgets.Widget/@Listeners sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@Listeners/@Listener sname Listener stype Selection sdescriptors xworker.swt.events.Listeners/@listeners/@Listener sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@Listeners/@Listener/@GroovyAction sname GroovyAction sisSynchronized false sthrowException true suseOtherAction false svarScope Local sdisableGlobalContext false Scode #$@text#$@ import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.TableItem; if(actionContext.get("descExtendsTabItem") != null && event.item == descExtendsTabItem){ //每次都重新刷新 for(item in descTable.getItems()){ item.dispose(); } for(item in extTable.getItems()){ item.dispose(); } for(desc in thing.getAllDescriptors()){ def path = desc.getMetadata().getPath(); def item = new TableItem(descTable, SWT.NONE); item.setData(path); item.setText([path] as String[]); } for(ext in thing.getAllExtends()){ def path = ext.getMetadata().getPath(); def item = new TableItem(descTable, SWT.NONE); item.setData(path); item.setText([path] as String[]); } } #$@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 @/@demoTabFolder/@tabItem sname demoTabItem stext Demo sdescriptors xworker.swt.widgets.TabFolder/@TabItem sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@tabItem/@demoComposite sname demoComposite 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/@Composite sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@tabItem/@demoComposite/@demoCompositeGridLayout sname demoCompositeGridLayout 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 @/@demoTabFolder/@tabItem/@demoComposite/@thingEditor sname thingEditor stitle true sxw_cl_global false sdescriptors xworker.swt.Widgets/@ThingEditor sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@tabItem/@demoComposite/@thingEditor/@thingEditorGridData sname thingEditorGridData 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.Commons/@GridData sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@thingTabItem sname thingTabItem stext Descriptor sdescriptors xworker.swt.widgets.TabFolder/@TabItem sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@thingTabItem/@thingEditorComposite sname thingEditorComposite 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/@Composite sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@thingTabItem/@thingEditorComposite/@thingEditorCompositeGridLayout sname thingEditorCompositeGridLayout 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 @/@demoTabFolder/@thingTabItem/@thingEditorComposite/@thingEditor sname descEditor stitle true sxw_cl_global false sdescriptors xworker.swt.Widgets/@ThingEditor sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@thingTabItem/@thingEditorComposite/@thingEditor/@thingEditorGridData sname thingEditorGridData 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.Commons/@GridData sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@thingTabItem/@thingEditorComposite/@7860 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 @/@demoTabFolder/@thingTabItem/@thingEditorComposite/@7860/@7861 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 @/@demoTabFolder/@thingTabItem/@thingEditorComposite/@7860/@7862 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 @/@demoTabFolder/@thingTabItem/@thingEditorComposite/@7860/@7863 sname updateButton stext 刷新 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 @/@demoTabFolder/@thingTabItem/@thingEditorComposite/@7860/@7863/@7864 sname RowData sexclude false swidth 80 sheight -1 sdescriptors xworker.swt.layout.LayoutDatas/@RowData sth_createIndex false @/@demoTabFolder/@thingTabItem/@thingEditorComposite/@7860/@7863/@7865 sname Listeners sdescriptors xworker.swt.widgets.Widget/@Listeners sth_createIndex false @/@demoTabFolder/@thingTabItem/@thingEditorComposite/@7860/@7863/@7865/@7866 sname updateButtonSelection stype Selection sdescriptors xworker.swt.events.Listeners/@listeners/@Listener sth_createIndex false @/@demoTabFolder/@thingTabItem/@thingEditorComposite/@7860/@7863/@7865/@7866/@GroovyAction sname GroovyAction sisSynchronized false sthrowException true suseOtherAction false svarScope Local sdisableGlobalContext false Scode #$@text#$@ import xworker.util.XWorkerUtils; //先保存事物 thingEditor.editorActions.doAction("save"); //在编辑器中编辑事物 thingEditor.editorActions.doAction("setThing", ["thing": thing]); demoTabItem.setText(thing.getMetadata().getLabel()); demoTabFolder.setSelection(0); #$@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 @/@demoTabFolder/@descExtendsTabItem sname descExtendsTabItem stext Relations sdescriptors xworker.swt.widgets.TabFolder/@TabItem sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@descExtendsTabItem/@relationSashForm sname relationSashForm 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 @/@demoTabFolder/@descExtendsTabItem/@relationSashForm/@descriptorsGroup sname descriptorsGroup stext 描述者列表 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 @/@demoTabFolder/@descExtendsTabItem/@relationSashForm/@descriptorsGroup/@descGroupFillLayout sname descGroupFillLayout 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 @/@demoTabFolder/@descExtendsTabItem/@relationSashForm/@descriptorsGroup/@descTable sname descTable sselectStyle SINGLE sV_SCROLL true sH_SCROLL true sCHECK false sFULL_SELECTION true sHIDE_SELECTION true sBORDER false slineVisible true smultipleColumns true sheaderVisible false ssortIndicator true smoveableColumns true sheadImages false ssubImages false sVIRTUAL false scapture false senabled true sredraw true svisible true sxw_cl_global false sdescriptors xworker.swt.Widgets/@Table sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@descExtendsTabItem/@relationSashForm/@descriptorsGroup/@descTable/@DataStore sname DataStore sattachToParent true sloadBackground true sautoLoad false sautoSave false spaging extend spageSize 50 sstoreSortField _extend sstoreSortDir ASC seditable extend seditmethod extend sdescriptors xworker.swt.widgets.Table/@DataStore sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@descExtendsTabItem/@relationSashForm/@descriptorsGroup/@descTable/@DataStore/@dataObjects sname dataObjects sdescriptors xworker.app.view.swt.data.DataStore/@DataObjects sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@descExtendsTabItem/@relationSashForm/@descriptorsGroup/@descTable/@DataStore/@dataObjects/@AbstractDataObject sname AbstractDataObject seditCols 2 spaging false sreadUrl do?sc=xworker.app.view.extjs.server.DataObjectStore/@read screateUrl do?sc=xworker.app.view.extjs.server.DataObjectStore/@create supdateUrl do?sc=xworker.app.view.extjs.server.DataObjectStore/@update sdestroyUrl do?sc=xworker.app.view.extjs.server.DataObjectStore/@destroy LstoreAutoDestroy false sstoreAutoLoad false LstoreAutoSave true LstoreBatch true LstorePruneModifiedRecords false LstoreRemoteSort false LstoreRestful false sstoreRoot 'rows' sstoreSuccessProperty 'success' sstoreTotalProperty 'totalCount' sstoreMessageProperty 'msg' sgridEditable false sgridEditType cell sformReadUrl do?sc=xworker.app.view.extjs.server.DataObjectForm/@read sformCreateUrl do?sc=xworker.app.view.extjs.server.DataObjectForm/@create sformUpdateUrl do?sc=xworker.app.view.extjs.server.DataObjectForm/@update sformDestroyUrl do?sc=xworker.app.view.extjs.server.DataObjectForm/@delete spaging_afterPageText 页 共 spaging_beforePageText 第 Lpaging_displayInfo false spaging_displayMsg 第{0}-第{1}条,共{2}条 spaging_emptyMsg 没有数据 spaging_firstText 首页 spaging_lastText 最后一页 spaging_nextText 下一页 Lpaging_prependButtons false spaging_prevText 上一页 spaging_refreshText 刷新 sgridColumnLocking false sgridLockText '锁定' sgridUnlockText '解锁' scolumnGroup false sgridCheckable false sgridRowNumber false sgridGrouping false sgridGroupTextTpl '{text} ({[values.rs.length]} 条)' sgridRowExpander false sautoGenerateId false sidGenerateType action sidAction generateId sstoreSortDir ASC sautoInit false sautoInitAction beforeCreate scacheRelation false scacheRelationMaxSize 1000 scacheRelationReadnone false safterCreated false sonLoaded false sbeforeUpdate false safterUpdated false sbeforeDelete false safterDeleted false safterQueryed false sdescriptors xworker.dataObject.DataObjects/@AbstractDataObject sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@descExtendsTabItem/@relationSashForm/@descriptorsGroup/@descTable/@DataStore/@dataObjects/@AbstractDataObject/@path sname path slabel 路径 stype string soptional true skey false sdataField true sviewField true sreadField true screateEditor true seditEditor true sviewEditor true sgridEditor true squeryEditor true sreadOnly false seditable true sdisabled false sshowLabel true slabelAlign right slabelVAlign baseline svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true sshowInTable true sgridWidth 600 sdisplayRelationLabel false sgridFixed false sgridHidden false sgridHideable true sgridSortable false scolumnLocked false sgridGroupable true sgridMenuDisabled false sgridResizable true sdescriptors xworker.dataObject.AbstractDataObject/@attribute sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@descExtendsTabItem/@relationSashForm/@descriptorsGroup/@descTable/@Listeners sname Listeners sdescriptors xworker.swt.widgets.Widget/@Listeners sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@descExtendsTabItem/@relationSashForm/@descriptorsGroup/@descTable/@Listeners/@Listener sname tableDefaultSelection stype DefaultSelection sdescriptors xworker.swt.events.Listeners/@listeners/@Listener sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@descExtendsTabItem/@relationSashForm/@descriptorsGroup/@descTable/@Listeners/@Listener/@GroovyAction sname GroovyAction sisSynchronized false sthrowException true suseOtherAction false svarScope Local sdisableGlobalContext false Scode #$@text#$@ import xworker.util.XWorkerUtils; def thing = world.getThing(event.item.getData()); XWorkerUtils.ideOpenThing(thing); #$@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 @/@demoTabFolder/@descExtendsTabItem/@relationSashForm/@extendsGroup sname extendsGroup stext 继承者列表 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 @/@demoTabFolder/@descExtendsTabItem/@relationSashForm/@extendsGroup/@extendsGroupFillLayout sname extendsGroupFillLayout 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 @/@demoTabFolder/@descExtendsTabItem/@relationSashForm/@extendsGroup/@descTable sname extTable sselectStyle SINGLE sV_SCROLL true sH_SCROLL true sCHECK false sFULL_SELECTION true sHIDE_SELECTION true sBORDER false slineVisible true smultipleColumns true sheaderVisible false ssortIndicator true smoveableColumns true sheadImages false ssubImages false sVIRTUAL false scapture false senabled true sredraw true svisible true sxw_cl_global false sdescriptors xworker.swt.Widgets/@Table sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@descExtendsTabItem/@relationSashForm/@extendsGroup/@descTable/@DataStore sname DataStore sattachToParent true sloadBackground true sautoLoad false sautoSave false spaging extend spageSize 50 sstoreSortField _extend sstoreSortDir ASC seditable extend seditmethod extend sdescriptors xworker.swt.widgets.Table/@DataStore sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@descExtendsTabItem/@relationSashForm/@extendsGroup/@descTable/@DataStore/@dataObjects sname dataObjects sdescriptors xworker.app.view.swt.data.DataStore/@DataObjects sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@descExtendsTabItem/@relationSashForm/@extendsGroup/@descTable/@DataStore/@dataObjects/@AbstractDataObject sname AbstractDataObject seditCols 2 spaging false sreadUrl do?sc=xworker.app.view.extjs.server.DataObjectStore/@read screateUrl do?sc=xworker.app.view.extjs.server.DataObjectStore/@create supdateUrl do?sc=xworker.app.view.extjs.server.DataObjectStore/@update sdestroyUrl do?sc=xworker.app.view.extjs.server.DataObjectStore/@destroy LstoreAutoDestroy false sstoreAutoLoad false LstoreAutoSave true LstoreBatch true LstorePruneModifiedRecords false LstoreRemoteSort false LstoreRestful false sstoreRoot 'rows' sstoreSuccessProperty 'success' sstoreTotalProperty 'totalCount' sstoreMessageProperty 'msg' sgridEditable false sgridEditType cell sformReadUrl do?sc=xworker.app.view.extjs.server.DataObjectForm/@read sformCreateUrl do?sc=xworker.app.view.extjs.server.DataObjectForm/@create sformUpdateUrl do?sc=xworker.app.view.extjs.server.DataObjectForm/@update sformDestroyUrl do?sc=xworker.app.view.extjs.server.DataObjectForm/@delete spaging_afterPageText 页 共 spaging_beforePageText 第 Lpaging_displayInfo false spaging_displayMsg 第{0}-第{1}条,共{2}条 spaging_emptyMsg 没有数据 spaging_firstText 首页 spaging_lastText 最后一页 spaging_nextText 下一页 Lpaging_prependButtons false spaging_prevText 上一页 spaging_refreshText 刷新 sgridColumnLocking false sgridLockText '锁定' sgridUnlockText '解锁' scolumnGroup false sgridCheckable false sgridRowNumber false sgridGrouping false sgridGroupTextTpl '{text} ({[values.rs.length]} 条)' sgridRowExpander false sautoGenerateId false sidGenerateType action sidAction generateId sstoreSortDir ASC sautoInit false sautoInitAction beforeCreate scacheRelation false scacheRelationMaxSize 1000 scacheRelationReadnone false safterCreated false sonLoaded false sbeforeUpdate false safterUpdated false sbeforeDelete false safterDeleted false safterQueryed false sdescriptors xworker.dataObject.DataObjects/@AbstractDataObject sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@descExtendsTabItem/@relationSashForm/@extendsGroup/@descTable/@DataStore/@dataObjects/@AbstractDataObject/@path sname path slabel 路径 stype string soptional true skey false sdataField true sviewField true sreadField true screateEditor true seditEditor true sviewEditor true sgridEditor true squeryEditor true sreadOnly false seditable true sdisabled false sshowLabel true slabelAlign right slabelVAlign baseline svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true sshowInTable true sgridWidth 600 sdisplayRelationLabel false sgridFixed false sgridHidden false sgridHideable true sgridSortable false scolumnLocked false sgridGroupable true sgridMenuDisabled false sgridResizable true sdescriptors xworker.dataObject.AbstractDataObject/@attribute sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@descExtendsTabItem/@relationSashForm/@extendsGroup/@descTable/@Listeners sname Listeners sdescriptors xworker.swt.widgets.Widget/@Listeners sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@descExtendsTabItem/@relationSashForm/@extendsGroup/@descTable/@Listeners/@Listener sname tableDefaultSelection1 stype DefaultSelection sref tableDefaultSelection sdescriptors xworker.swt.events.Listeners/@listeners/@Listener sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@actions sname actions sdescriptors xworker.swt.Widgets/@actions sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@actions/@setComposite sname setThing sisSynchronized false sthrowException true suseOtherAction false svarScope Local sdisableGlobalContext false Scode #$@text#$@ import org.xmeta.ActionContext; import xworker.util.XWorkerUtils; if(thing instanceof String){ thing = world.getThing(thing); } if(thing == null){ log.warn("DemoThing: thing is null"); return; } //在编辑器中编辑事物 thingEditor.editorActions.doAction("setThing", ["thing": thing]); //在描述者里显示事物 descEditor.editorActions.doAction("setThing", ["thing": thing.getDescriptor()]); actionContext.getScope(0).put("thing", thing); #$@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 @/@demoTabFolder/@actions/@setComposite/@ins sisValidate false sname ins sdescriptors xworker.lang.actions.Inout/@ins sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@actions/@setComposite/@ins/@path sname thing stypeCheck false soptional true scheck false scheckLevel exception sdescriptors xworker.lang.actions.Inout/@ins/@param sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@demoTabFolder/@actions/@getControl sname getControl sexpression demoTabFolder sinterpretationType Self sattributeTemplate false schildsAttributeTemplate false svarScope Local sisSynchronized false sthrowException true suseOtherAction false screateLocalVarScope false ssaveReturn false sdisableGlobalContext false sdebugLog false sdescriptors xworker.lang.actions.Actions/@Ongl sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false




© 2015 - 2025 Weber Informatics LLC | Privacy Policy