^1750063747806
@
lth_createTime
1741057491906
sname
ThingRegistSelector
slabel
ThingRegistSelector
sdescriptors
xworker.lang.MetaDescriptor3
sextends
xworker.swt.layout.LayoutDatas
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
sicon
icons/book_edit.png
Sdescription
#$@text#$@
<p>查看模型注册的控件，也可以用来选择注册的模型。模型注册是XWorker中重要的功能，用于框架扩展、帮助、工具等等各种场合。</p>

<p><strong>界面的样式</strong></p>

<ul>
	<li><strong>Tree</strong><br />
	用来显示注册的模型。</li>
	<li><strong>Composite、CTabFolder或Browser</strong><br />
	用来展示在Tree控件选中的模型，可选，如果showContent=true显示，只有其中一种生效。</li>
</ul>

<p><strong>展示模型的方法</strong></p>

<p>&nbsp;&nbsp;&nbsp; 展示模型的方式是查看模型的方式，通常是定义一个Composite，在Composite里来展示模型。</p>

<p>&nbsp;&nbsp;&nbsp; 确定展示模型的查看器的优先级是：</p>

<ol>
	<li>模型自己定义的展示方式，见属性th_thingRegistViewer。</li>
	<li>默认的查看器，见defaultViewer属性和DefaultViewer子节点。</li>
	<li>默认的展示方法，见contentDefaultOpenMethod属性。</li>
</ol>

<p><strong>事件，重写以下方法可以实现监听</strong></p>

<ul>
	<li><strong>void selected(Thing thing， TreeItem item)</strong><br />
	当前模型的selected方法可以监听选择事件，其中参数是thing，如果不为null表示选中的一个事物节点，否则选中的group节点。<br />
	&nbsp;</li>
	<li><strong>void defaultSelected(Thing thing， TreeItem item)</strong><br />
	<strong>模型</strong>树双加的事件，其中参数是thing，如果不为null表示选中的一个事物节点，否则选中的group节点。<br />
	&nbsp;</li>
	<li><strong>void loaded(List&lt;Thing&gt; things)</strong><br />
	注册模型列表加载后触发的事件，执行查询也会触发该事件，<span style="color: rgb(255, 165, 0);">因此不要在这里执行查询等操作，否则会造成递归，除非自行控制避免递归</span>。</li>
</ul>

<p><strong>新建模型</strong><br />
新建模型的描述者列表可以重写getDescriptorForNewThing方法。如果是查找注册的模型，可以使用SearchRegistThing动作。</p>

<p><strong>变量</strong></p>

<p>&nbsp;&nbsp;&nbsp; 保存到全局变量的是界面中的actions，actions有以下方法：</p>

<ul>
	<li><strong>void init(Thing thing, String type,String keywords, String descriptorForNewThing)</strong><br />
	初始化。thing注册到的模型，type注册类型，keywords关键字, descriptorForNewThing新建模型的描述者（多个用英文逗号分隔）。<br />
	init之后可能需要调用refresh()才会重新加载。<br />
	&nbsp;</li>
	<li><strong>void setExtraThings(List&lt;String&gt; extraThings)</strong><br />
	设置额外的索引模型。<br />
	&nbsp;</li>
	<li><strong>Thing getThing()</strong><br />
	获取当前选中的模型，如果没有选择或选中的是group节点，那么返回null。<br />
	&nbsp;</li>
	<li><strong>List&lt;Thing&gt; getThings()</strong><br />
	返回当前在树控件显示的所有模型列表。<br />
	&nbsp;</li>
	<li><strong>Thing getIndexThing()</strong><br />
	返回当前索引的模型。<br />
	&nbsp;</li>
	<li><strong>void&nbsp; refresh()</strong><br />
	刷新，如果查找是在缓存中进行的（searchCache=true），那么通过refresh可以重新刷新列表。<br />
	&nbsp;</li>
	<li><strong>ActionContext getActionContext()</strong><br />
	返回注册模型创建的面板的上下文。<br />
	&nbsp;</li>
	<li><strong>ActionContext getViewerContext(Thing thing)</strong><br />
	返回指定模型当前查看器的上下文，如果模型已经查看的话。<br />
	&nbsp;&nbsp;</li>
	<li><strong>void setChecked(List&lt;Thing&gt; things)</strong><br />
	如果界面中的树有选择框，那么通过这个方法可以设置那些模型节点是选中的状态。<br />
	&nbsp;</li>
	<li><strong>List&lt;Thing&gt; getCheckedThings()</strong><br />
	返回树节点中选中的事物列表。<br />
	&nbsp;</li>
	<li><strong>void selectThing(Thing thing)</strong><br />
	选择一个模型。<br />
	&nbsp;</li>
	<li><strong>void setSearchKey(String key)</strong><br />
	设置查询输入框的内容。<br />
	&nbsp;</li>
	<li><strong>void setThing(List&lt;Thing&gt; things)</strong><br />
	如果数据不是查询出来的，也可以设置things。一般配合cache=true使用。</li>
</ul>

<p><strong>可以重写的方法：</strong></p>

<ul>
	<li><strong>Thing getThing()</strong><br />
	返回注册到的那个模型。<br />
	&nbsp;</li>
	<li><strong>String getRegistType()</strong><br />
	返回注册类型。</li>
</ul>

<p>&nbsp;</p>
#$@text#$@
snotXmlAttribute
false
sjson_isArray
false
sjson_array_type
children
sjson_attribute
false
sth_createIndex
false
sth_registMyChilds
false
sth_mark
false
  @/@actions
  sname
  actions
  sdescriptors
  xworker.lang.MetaDescriptor3/@actions
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  actions
    @/@actions/@create
    sname
    create
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.swt.xworker.ThingRegistSelector
    smethodName
    create
    sdisableGlobalContext
    false
    sattributeTemplate
    false
    sinterpretationType
    Action
    svarScope
    Global
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    create
    @/@actions/@defaultSelected
    sname
    defaultSelected
    sdescriptors
    xworker.lang.actions.Actions/@NOOP
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    defaultSelected
    @/@actions/@selected
    sname
    selected
    sdescriptors
    xworker.lang.actions.Actions/@NOOP
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    selected
    @/@actions/@getDescritporForNewThing
    sname
    getDescritporForNewThing
    sattributeName
    descritporForNewThing
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdisableGlobalContext
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.ActionUtil/@GetString
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    getDescritporForNewThing
    @/@actions/@getThing1
    sname
    getThing
    sattributeName
    thing
    schildThingFirstChild
    false
    snotNull
    false
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdisableGlobalContext
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.ActionUtil/@getThing
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    getThing1
    @/@actions/@getType
    sname
    getRegistType
    sattributeName
    registType
    snotNull
    false
    sdescription
    <p>返回注册类型。</p>
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdisableGlobalContext
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.ActionUtil/@GetString
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    getType
    @/@actions/@loaded
    sname
    loaded
    sunimplementedException
    false
    slog
    false
    sdescriptors
    xworker.lang.actions.Actions/@NOOP
    sdescription
    <p>已加载事物列表的事件。</p>
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    screateLocalVarScope
    false
    ssaveReturn
    false
    sswitchResult
    false
    sdisableGlobalContext
    false
    sdebugLog
    false
    susage
    event
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    loaded
      @/@actions/@loaded/@ins
      sisValidate
      false
      sname
      ins
      sdescriptors
      xworker.lang.actions.Inout/@ins
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_noThingRegistViewer
      false
      sth_fileMonitor
      false
      sth_mark
      false
      sth_registQueryOnlySelf
      false
      snotXmlAttribute
      false
      sjson_isArray
      false
      sgroupDescriptor
      false
      sid
      ins
        @/@actions/@loaded/@ins/@thing
        sname
        thing
        stype
        org.xmeta.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_noThingRegistViewer
        false
        sth_fileMonitor
        false
        sth_mark
        false
        sth_registQueryOnlySelf
        false
        snotXmlAttribute
        false
        sjson_isArray
        false
        sgroupDescriptor
        false
        sid
        thing
        @/@actions/@loaded/@ins/@things
        sname
        things
        stype
        java.util.List<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_noThingRegistViewer
        false
        sth_fileMonitor
        false
        sth_mark
        false
        sth_registQueryOnlySelf
        false
        snotXmlAttribute
        false
        sjson_isArray
        false
        sgroupDescriptor
        false
        sid
        things
        @/@actions/@loaded/@ins/@type
        sname
        type
        stype
        java.lang.String
        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_noThingRegistViewer
        false
        sth_fileMonitor
        false
        sth_mark
        false
        sth_registQueryOnlySelf
        false
        snotXmlAttribute
        false
        sjson_isArray
        false
        sgroupDescriptor
        false
        sid
        type
    @/@actions/@loadThings
    sname
    loadThings
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    suseInnerJava
    false
    souterClassName
    xworker.swt.xworker.ThingRegistSelector
    smethodName
    loadThings
    sdisableGlobalContext
    false
    sdescription
    <p>返回事物注册器要显示的事物列表，返回List&lt;Thing&gt;。</p>
    Scode
#$@text#$@
import xworker.lang.util.ThingUtils;

if(self.getBoolean("disableRegistMyChilds")){
    //ThingUtils.disableRegistMyChilds();
    try{
        return ThingUtils.searchRegistThings(thing, type, [], parent, true, actionContext);
    }finally{
        //ThingUtils.enableRegistMyChilds();
    }
}else{
    return ThingUtils.searchRegistThings(thing, type, [], parent, true, actionContext);
}
#$@text#$@
    sattributeTemplate
    false
    sinterpretationType
    Action
    svarScope
    Local
    screateLocalVarScope
    false
    ssaveReturn
    false
    sswitchResult
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_noThingRegistViewer
    false
    sth_fileMonitor
    false
    sth_deprecated
    false
    sth_mark
    false
    sth_registQueryOnlySelf
    false
    snotXmlAttribute
    false
    sjson_isArray
    false
    sgroupDescriptor
    false
    sid
    loadThings
      @/@actions/@loadThings/@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
      sid
      ins
        @/@actions/@loadThings/@ins/@thing
        sname
        thing
        stype
        org.xmeta.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
        sid
        thing
        @/@actions/@loadThings/@ins/@type
        sname
        type
        stype
        String
        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
        sid
        type
        @/@actions/@loadThings/@ins/@parent
        sname
        parent
        stype
        boolean
        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
        sid
        parent
    @/@actions/@getContentDefaultOpenMethod
    sname
    getContentDefaultOpenMethod
    sattributeName
    contentDefaultOpenMethod
    snotNull
    false
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdisableGlobalContext
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.ActionUtil/@GetString
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    getContentDefaultOpenMethod
    @/@actions/@getContentDisplayType
    sname
    getContentDisplayType
    sattributeName
    contentDisplayType
    snotNull
    false
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdisableGlobalContext
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.ActionUtil/@GetString
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    getContentDisplayType
    @/@actions/@isForceUseDefaultOpenMethod
    sname
    isForceUseDefaultOpenMethod
    sattributeName
    forceUseDefaultOpenMethod
    sBoolean
    false
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdisableGlobalContext
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.ActionUtil/@GetBoolean
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    isForceUseDefaultOpenMethod
    @/@actions/@getDefaultViewer
    sname
    getDefaultViewer
    sattributeName
    defaultViewer
    schildThingName
    Viewer
    schildThingFirstChild
    true
    sreturnSelf
    false
    snotNull
    false
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdisableGlobalContext
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.ActionUtil/@getThing
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    getDefaultViewer
    @/@actions/@getNewThingAttributes
    sname
    getNewThingAttributes
    sattributeName
    newThingAttributes
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdisableGlobalContext
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.ActionUtil/@GetData1
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_fileMonitor
    false
    sth_mark
    false
    sid
    getNewThingAttributes
    @/@actions/@16059
    sname
    getFilterThings
    sattributeName
    filterThings
    schildThingOnly
    false
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    screateLocalVarScope
    false
    ssaveReturn
    false
    sswitchResult
    false
    sdisableGlobalContext
    false
    sdebugLog
    false
    susage
    params
    sdescriptors
    xworker.lang.actions.ActionUtil/@GetThins
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_noThingRegistViewer
    false
    sth_fileMonitor
    false
    sth_mark
    false
    sth_registQueryOnlySelf
    false
    snotXmlAttribute
    false
    sjson_isArray
    false
    sgroupDescriptor
    false
    sid
    16059
    @/@actions/@1776
    sname
    getDescriptorForNewThing
    sattributeName
    descriptorForNewThing
    snotNull
    false
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    screateLocalVarScope
    false
    ssaveReturn
    false
    sswitchResult
    false
    sdisableGlobalContext
    false
    sdebugLog
    false
    susage
    params
    sdescriptors
    xworker.lang.actions.ActionUtil/@GetString
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_noThingRegistViewer
    false
    sth_fileMonitor
    false
    sth_mark
    false
    sth_registQueryOnlySelf
    false
    snotXmlAttribute
    false
    sjson_isArray
    false
    sgroupDescriptor
    false
    sid
    1776
  @/@VariablesDescs
  sname
  VariablesDescs
  sdescriptors
  xworker.lang.MetaThing/@VariablesDesc
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_fileMonitor
  false
  sth_mark
  false
  sth_registQueryOnlySelf
  false
  sid
  VariablesDescs
    @/@VariablesDescs/@var
    sname
    var
    svarName
    _thingName_
    spassive
    false
    sscope
    0
    stype
    actionContainer
    sthing
    xworker.swt.xworker.prototype.ThingRegistSelector/@actions
    sdescriptors
    xworker.lang.MetaThing/@VariablesDesc/@Object
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_fileMonitor
    false
    sth_mark
    false
    sth_registQueryOnlySelf
    false
    sid
    var
  @/@name
  sname
  name
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  name
  @/@label
  sname
  label
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  label
  @/@thing
  sname
  thing
  sinputtype
  dataSelector
  ssize
  60
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  sdescription
  <p>注册事物的路径，支持UtilString。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  thing
  @/@registType
  sname
  registType
  sextends
  xworker.lang.MetaThing/@th_registThing
  sinputtype
  inputSelect
  ssize
  50
  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_mark
  false
  sid
  registType
  @/@parent
  sname
  parent
  sinputtype
  truefalse
  sshowLabel
  true
  sreadOnly
  false
  sdefault
  false
  sinheritDescription
  false
  sdescription
  <p>如果为true表示反向查找注册了该事物的事物列表，默认false。</p>
  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
  sid
  parent
  @/@noDescriptor
  sname
  noDescriptor
  sinputtype
  truefalse
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  public
  sreadOnly
  false
  sinheritDescription
  false
  sdescription
  <p>如果为true，不查找模型的描述者的列表。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sxmlJsonIncludeDefault
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_noThingRegistViewer
  false
  sth_fileMonitor
  false
  sth_mark
  false
  sth_registQueryOnlySelf
  false
  sjson_isArray
  false
  sgroupDescriptor
  false
  sid
  noDescriptor
  @/@searchAable
  sname
  searchByKeywords
  sinputtype
  truefalse
  sshowLabel
  true
  sreadOnly
  false
  sdefault
  true
  sinheritDescription
  false
  sdescription
  <p>是否可以通过关键字查找子事物。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  searchAable
  @/@keywords
  sname
  keywords
  ssize
  40
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  public
  sreadOnly
  false
  sinheritDescription
  false
  sdescription
  <p>默认的关键字，如有多个使用空格分开。可以使用var:和ognl:等表达式。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  keywords
  @/@showContentFolder
  sname
  showContent
  sinputtype
  truefalse
  sgroup
  Content View
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  public
  sreadOnly
  false
  sdefault
  false
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>如果为true，当选中了一个模型节点后，会打开内容显示区显示该模型所呈现的内容。</p>

<p>见contentDisplayType属性。</p>
#$@text#$@
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sxmlJsonIncludeDefault
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  showContentFolder
  @/@descBrowserType
  sname
  contentDisplayType
  sinputtype
  inputSelect
  sgroup
  Content View
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  public
  sreadOnly
  false
  sdefault
  TabFolder
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sxmlJsonIncludeDefault
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  descBrowserType
    @/@descBrowserType/@tabFolder
    sname
    TabFolder
    svalue
    TabFolder
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    tabFolder
    @/@descBrowserType/@Composite
    sname
    Composite
    svalue
    Composite
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    Composite
  @/@defaultViewer
  sname
  defaultViewer
  sinputtype
  dataSelector
  ssize
  60
  sgroup
  Content View
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  public
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sxmlJsonIncludeDefault
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  defaultViewer
  @/@defaultOpenType
  sname
  contentDefaultOpenMethod
  sinputtype
  inputSelect
  sgroup
  Content View
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  public
  sreadOnly
  false
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>设置注册的浏览事物时默认的打开方法。</p>

<p><strong>默认是浏览事物文档</strong></p>

<p>&nbsp;&nbsp;&nbsp; 如果设置为空，默认浏览事物的方式是显示它的文档。</p>

<p><strong>几个特殊的事物</strong></p>

<p>&nbsp;&nbsp;&nbsp; 如果事物是下面的类型，那么会调用它们的create方法来显示内容。</p>

<ul>
	<li>xworker.swt.widgets.Composite</li>
	<li>xworker.swt.xworker.ThingRegistComposite</li>
	<li>xworker.swt.xworker.ThingRegistThing</li>
</ul>

<p><strong>设置默认打开方式</strong></p>

<p>&nbsp;&nbsp;&nbsp; 如果设置了打开方式，那么会新建一个xworker.swt.xworker.ThingRegistThing事物，打开方式是它的type属性的值，而事物的路径是它的path属性的值，显示的内容是它的create方法执行的结果。</p>

<p>&nbsp;</p>
#$@text#$@
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sxmlJsonIncludeDefault
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  defaultOpenType
    @/@defaultOpenType/@thingDesc
    sname
    thingDesc
    svalue
    thingDesc
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    thingDesc
    @/@defaultOpenType/@thingDescBrowser
    sname
    thingDescBrowser
    svalue
    thingDescBrowser
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    thingDescBrowser
    @/@defaultOpenType/@thingControl
    sname
    thingControl
    svalue
    thingControl
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    thingControl
    @/@defaultOpenType/@thingEditor
    sname
    thingEditor
    svalue
    thingEditor
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    thingEditor
    @/@defaultOpenType/@thingRegist
    sname
    thingRegist
    svalue
    thingRegist
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    thingRegist
    @/@defaultOpenType/@composite
    sname
    composite
    svalue
    composite
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    composite
    @/@defaultOpenType/@shell
    sname
    shell
    svalue
    shell
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    shell
    @/@defaultOpenType/@uiFlow
    sname
    uiFlow
    svalue
    uiFlow
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    uiFlow
    @/@defaultOpenType/@uiFunction
    sname
    uiFunction
    svalue
    uiFunction
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    uiFunction
    @/@defaultOpenType/@autoDemo
    sname
    autoDemo
    svalue
    autoDemo
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    autoDemo
    @/@defaultOpenType/@swtDemo
    sname
    swtDemo
    svalue
    swtDemo
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    swtDemo
    @/@defaultOpenType/@swtGuide
    sname
    swtGuide
    svalue
    swtGuide
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    swtGuide
    @/@defaultOpenType/@webDemo
    sname
    webDemo
    svalue
    webDemo
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    webDemo
    @/@defaultOpenType/@thingDemo
    sname
    thingDemo
    svalue
    thingDemo
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    thingDemo
    @/@defaultOpenType/@action
    sname
    action
    svalue
    action
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    action
    @/@defaultOpenType/@dataObjectEditor
    sname
    dataObjectEditor
    svalue
    dataObjectEditor
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    dataObjectEditor
    @/@defaultOpenType/@dataObjectSelector
    sname
    dataObjectSelector
    svalue
    dataObjectSelector
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    dataObjectSelector
    @/@defaultOpenType/@dataObjectMultiSelector
    sname
    dataObjectMultiSelector
    svalue
    dataObjectMultiSelector
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    dataObjectMultiSelector
  @/@forceUseDefaultOpenMethod
  sname
  forceUseDefaultOpenMethod
  sinputtype
  truefalse
  sgroup
  Content View
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  public
  sreadOnly
  false
  sdefault
  false
  sinheritDescription
  false
  sdescription
  <p>如果为真，那么忽略事物本身的打开方式，而只使用这里默认设置的打开方式。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sxmlJsonIncludeDefault
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  forceUseDefaultOpenMethod
  @/@showDescBrowser
  sname
  showDescBrowser
  sinputtype
  truefalse
  sgroup
  deprecated
  sshowLabel
  true
  sreadOnly
  false
  sdefault
  false
  sinheritDescription
  false
  sdescription
  <p>是否显示事物的描述文档。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  showDescBrowser
  @/@descBrowserRight
  sname
  descBrowserRight
  sinputtype
  truefalse
  sgroup
  deprecated
  sshowLabel
  true
  sreadOnly
  false
  sdefault
  false
  sinheritDescription
  false
  sdescription
  <p>默认显示事物描述的浏览器在下面，如果选择true那么将显示在右面。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  descBrowserRight
  @/@autoLoad
  sname
  autoLoad
  sinputtype
  truefalse
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  public
  sreadOnly
  false
  sdefault
  false
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>是否在界面启动的时候就加在数据。</p>

<p>只在有关键字查找的时候生效，没有关键字查找时总是自动加载的。</p>
#$@text#$@
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sxmlJsonIncludeDefault
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  autoLoad
  @/@cache
  sname
  cache
  sinputtype
  truefalse
  sshowLabel
  true
  sreadOnly
  false
  sdefault
  true
  sinheritDescription
  false
  sdescription
  <p>&nbsp;如果cache那么只有第一次查询会从数据库中读取，其他从缓存中读取。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  cache
  @/@check
  sname
  check
  sinputtype
  truefalse
  sshowLabel
  true
  smodifier
  public
  sreadOnly
  false
  sdefault
  false
  sinheritDescription
  false
  sdescription
  <p>事物的列表树是否显示CheckBox框。</p>
  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
  sid
  check
  @/@disableRegistMyChilds
  sname
  disableRegistMyChilds
  sinputtype
  truefalse
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  public
  sreadOnly
  false
  sdefault
  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_noThingRegistViewer
  false
  sth_fileMonitor
  false
  sth_mark
  false
  sth_registQueryOnlySelf
  false
  sid
  disableRegistMyChilds
  @/@descritporForNewThing
  sname
  descritporForNewThing
  sinputtype
  dataSelector
  ssize
  60
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  private
  sreadOnly
  false
  sdefault
  xworker.lang.content.QuickContent
  sinheritDescription
  false
  sdescription
  <p>在创建模型时可供选择的描述者，如有多个可以使用英文逗号分割。支持返回String和List&lt;Thing&gt;。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sxmlJsonIncludeDefault
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  descritporForNewThing
  @/@descritporForNewThing1
  sname
  descriptorForNewThing
  sinputtype
  dataSelector
  ssize
  60
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  public
  sreadOnly
  false
  sdefault
  xworker.lang.content.QuickContent
  sinheritDescription
  false
  sdescription
  <p>在创建事物是可供选择的描述着，如有多个可以使用英文逗号分割。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sxmlJsonIncludeDefault
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  descritporForNewThing1
  @/@descritporChilds
  sname
  descritporChilds
  sinputtype
  truefalse
  sshowLabel
  true
  sreadOnly
  false
  sdefault
  false
  sinheritDescription
  false
  sdescription
  <p>是否去descritporForNewThing的子节点作为描述者的列表。</p>
  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
  sid
  descritporChilds
  @/@filterThings
  sname
  filterThings
  ssize
  60
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  public
  sreadOnly
  false
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>用于过滤节点。</p>

<p>比如XWorker的示例索引是所有模型的示例，如果想只显示SWT的示例，那么可以用SWT分组模型来过滤，这样就只显示SWT的示例了。</p>
#$@text#$@
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sxmlJsonIncludeDefault
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_noThingRegistViewer
  false
  sth_fileMonitor
  false
  sth_mark
  false
  sth_registQueryOnlySelf
  false
  sjson_isArray
  false
  sgroupDescriptor
  false
  sid
  filterThings
  @/@contentHandler
  sname
  contentHandler
  ssize
  50
  sgroup
  Content View
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  public
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sxmlJsonIncludeDefault
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_noThingRegistViewer
  false
  sth_fileMonitor
  false
  sth_mark
  false
  sth_registQueryOnlySelf
  false
  sjson_isArray
  false
  sid
  contentHandler
  @/@newThingAttributes
  sname
  newThingAttributes
  sinputtype
  textarea
  ssize
  60
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  public
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sxmlJsonIncludeDefault
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_fileMonitor
  false
  sth_mark
  false
  sid
  newThingAttributes
  @/@sashFormWeights
  sname
  sashFormWeights
  sgroup
  Content View
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  public
  sreadOnly
  false
  sinheritDescription
  false
  sdescription
  <p>如果显示showDescBrowser，那么browser和tree在一个SashForm下，可以设置它的权值。比如：50,50</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sxmlJsonIncludeDefault
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  sashFormWeights
  @/@actions1
  sname
  actions
  slabel
  Actions
  sdescriptors
  xworker.lang.MetaDescriptor2/@thing
  sextends
  xworker.lang.actions.Actions
  smany
  true
  seditCols
  2
  Sdescription
#$@text#$@
<p>动作集合，通过子节点可以添加各种动作，动作通常是一个可执行的程序。</p>
<p>事物的第一个动作集合的子事物才可以作为事物的行为，第二个及其他动作集合就不能作为事物的行为使用了，事物的行为默认找第一个动作集合。</p>
<p>事物的run方法一般是这个事物转化为动作之后执行的方法。</p>
#$@text#$@
  szh_label
  动作
  sth_createIndex
  false
  sid
  actions1
    @/@actions1/@name
    sname
    name
    sdescriptors
    xworker.lang.MetaDescriptor2/@attribute
    sid
    name
    @/@actions1/@actions
    sname
    actions
    sdescriptors
    xworker.lang.MetaDescriptor2/@actions
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    actions
      @/@actions1/@actions/@create
      sname
      create
      sdescriptors
      xworker.lang.actions.Actions/@NOOP
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_mark
      false
      sid
      create
  @/@Viewers
  sname
  Viewers
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  smany
  true
  seditCols
  2
  sinitialization
  false
  smodifier
  public
  sinheritDescription
  false
  sdescription
  <p>事物的查看器的定义，目前只有第一个子节点是默认查看器的定义，其它还无用途。</p>
  snotXmlAttribute
  false
  sjson_isArray
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  Viewers
    @/@Viewers/@Viewer
    sname
    Viewer
    sdescriptors
    xworker.lang.MetaDescriptor3/@thing
    sextends
    xworker.swt.widgets.Composite
    smany
    true
    seditCols
    2
    sinitialization
    false
    smodifier
    public
    sinheritDescription
    false
    snotXmlAttribute
    false
    sjson_isArray
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    Viewer
    @/@Viewers/@actions
    sname
    actions
    sdescriptors
    xworker.lang.MetaDescriptor3/@actions
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    actions
      @/@Viewers/@actions/@create
      sname
      create
      sunimplementedException
      false
      sdescriptors
      xworker.lang.actions.Actions/@NOOP
      sinterpretationType
      Self
      sattributeTemplate
      false
      schildsAttributeTemplate
      false
      svarScope
      Local
      sisSynchronized
      false
      sthrowException
      true
      screateLocalVarScope
      false
      ssaveReturn
      false
      sdisableGlobalContext
      false
      sdebugLog
      false
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      create
