^1737685832284
@
sname
ThingIndex
slabel
模型索引
sdescriptors
xworker.lang.MetaDescriptor3
smany
true
seditCols
2
sinitialization
false
sgroup
_root
smodifier
public
sinheritDescription
false
sicon
icons/text_list_bullets.png
Sdescription
#$@text#$@
<h1>模型索引</h1>

<p>&nbsp;&nbsp;&nbsp; 模型索引也叫模型注册或模型关联，是指一个模型可以指定方式注册到另一个模型下，比如以child的方式注册到xxx模型下，那么这个模型就可以作为xxx模型的子节点child来使用。</p>

<p>&nbsp;&nbsp;&nbsp; 模型索引在XWorker应用广泛，如一个模型的帮助、向导和工具等都使用了模型索引。</p>

<p>&nbsp;&nbsp;&nbsp; 模型索引是XWorker的功能，索引是存放在数据库中或缓存在内存中的，通过索引第三方的开发者也可以为扩充其它人的模型，或为其它人的模型提供帮助和辅助工具等。</p>

<h2>总索引</h2>

<p>&nbsp;&nbsp;&nbsp; 也作为模型的总索引，一般是其它索引都注册到这里，另外它也可以作为其他的索引的描述者。总索引的路径是<strong>xworker.lang.util.ThingIndex</strong>。</p>

<h2>&nbsp;</h2>
#$@text#$@
snotXmlAttribute
false
sjson_isArray
false
sen_label
Thing Index
sth_createIndex
true
sth_registMyChilds
false
sth_registDisabled
false
sth_thingRegistViewer
xworker.swt.xwidgets.thingregistviews.ThingIndexViewer
Sen_description
#$@text#$@
<h1>Model Index</h1>

<p>&nbsp;&nbsp;&nbsp; Model index is also called model registration or model association, which means that a model can be registered to another model in a specified way, such as registered to the xxx model as a child, then this model can be used as The child node child of the xxx model is used.</p>

<p>&nbsp;&nbsp;&nbsp; The model index is widely used in XWorker, such as the help, wizard and tools of a model all use the model index.</p>

<p>&nbsp;&nbsp;&nbsp; Model indexing is a function of XWorker. The index is stored in the database or cached in memory. By indexing, third-party developers can also expand other people&#39;s models, or provide other people&#39;s The model provides help and auxiliary tools, etc.</p>

<h2>General index</h2>

<p>&nbsp;&nbsp;&nbsp; It is also used as the general index of the model. Generally, other indexes are registered here. In addition, it can also be used as the descriptor of other indexes. The path of the total index is <strong>xworker.lang.util.ThingIndex</strong>.</p>

<h2>&nbsp;</h2>
#$@text#$@
sth_mark
false
  @/@actions
  sname
  actions
  sdescriptors
  xworker.lang.MetaDescriptor3/@actions
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_fileMonitor
  false
  sth_mark
  false
  sid
  actions
    @/@actions/@getNewThingAttributes
    sname
    getNewThingAttributes
    sattributeName
    newThingAttributes
    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.ActionUtil/@GetData1
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_fileMonitor
    false
    sth_mark
    false
    sid
    getNewThingAttributes
    @/@actions/@getThings
    sname
    getThings
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    suseInnerJava
    false
    souterClassName
    xworker.lang.util.ThingIndexActions
    smethodName
    getThings
    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_fileMonitor
    false
    sth_mark
    false
    sid
    getThings
    @/@actions/@42172
    sname
    getDescritporForNewThing
    sattributeName
    descritporForNewThing
    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
    42172
  @/@ThingIndex
  sname
  ThingIndex
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.lang.util.ThingIndex
  smany
  true
  seditCols
  2
  sinitialization
  false
  smodifier
  public
  sinheritDescription
  false
  snotXmlAttribute
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  true
  sth_mark
  false
  sid
  ThingIndex
  @/@ReferenceIndex
  sname
  ReferenceIndex
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  smany
  true
  seditCols
  2
  sinitialization
  false
  smodifier
  public
  sinheritDescription
  false
  sdescription
  <p>告诉索引浏览器，这个是引用其他事物的索引。</p>
  snotXmlAttribute
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  true
  sth_mark
  false
  sid
  ReferenceIndex
    @/@ReferenceIndex/@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_mark
    false
    sid
    name
    @/@ReferenceIndex/@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_mark
    false
    sid
    label
    @/@ReferenceIndex/@thingPath
    sname
    thingPath
    sinputtype
    dataSelector
    ssize
    60
    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
    thingPath
    @/@ReferenceIndex/@group
    sname
    group
    ssize
    60
    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
    group
    @/@ReferenceIndex/@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_mark
    false
    sid
    description
  @/@name
  sname
  name
  sshowLabel
  true
  smodifier
  public
  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
  sid
  name
  @/@label
  sname
  label
  sshowLabel
  true
  smodifier
  public
  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
  sid
  label
  @/@group
  sname
  group
  ssize
  50
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  public
  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
  sid
  group
  @/@descBrowserType
  sname
  contentDisplayType
  sextends
  xworker.swt.xworker.ThingRegistSelector/@descBrowserType
  sinputtype
  select
  sshowLabel
  true
  smodifier
  public
  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
  sid
  descBrowserType
  @/@defaultOpenType
  sname
  contentDefaultOpenMethod
  sextends
  xworker.swt.xworker.ThingRegistSelector/@defaultOpenType
  sinputtype
  select
  sshowLabel
  true
  smodifier
  public
  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
  sid
  defaultOpenType
  @/@defaultViewer
  sname
  defaultViewer
  sinputtype
  openWindow
  ssize
  60
  sinputattrs
  xworker.things.p2016.p11.p15.ThingRegistSelector|registType=child,viewType=thingDescBrowser,thing=xworker.core.util.indexs.ThingRegistViewers,seperator=%2C,returnType=path,append=false
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  public
  sreadOnly
  false
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>默认查看器，当索引浏览器中选中的事物本身没有设置查看器时使用。</p>

<p>查看器是一个实现了create()方法的模型，参数如下：</p>

<ul>
	<li><strong>parent</strong>: org.eclipse.swt.widgets.Composite<br />
	用于创建SWT控件的父容器。</li>
	<li><strong>parentContext</strong>: org.xmeta.ActionCotnext<br />
	注册查看器所在的上下文。</li>
	<li><strong>thing</strong>: org.xmeta.Thing<br />
	要查看的模型。</li>
	<li><strong>contentHandler</strong>: xworker.lang.content.ContentHandler<br />
	内容处理器，是一个方便展示各种内容的处理器，见QuickContent。</li>
</ul>

<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_fileMonitor
  false
  sth_mark
  false
  sid
  defaultViewer
  @/@descritporForNewThing
  sname
  descritporForNewThing
  sinputtype
  dataSelector
  ssize
  60
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  public
  sreadOnly
  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
  descritporForNewThing
  @/@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
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_fileMonitor
  false
  sth_mark
  false
  sid
  newThingAttributes
  @/@description
  sname
  description
  sinputtype
  html
  sshowLabel
  true
  smodifier
  public
  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
  sid
  description
  @/@thing
  sname
  thing
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.lang.MetaDescriptor3/@thing
  smany
  true
  seditCols
  2
  sinitialization
  false
  smodifier
  public
  sinheritDescription
  true
  snotXmlAttribute
  false
  sjson_isArray
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_fileMonitor
  false
  sth_mark
  false
  sid
  thing
  @/@MenuBar
  sname
  MenuBar
  sdescriptors
  xworker.lang.MetaDescriptor3/@MenuBar
  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
  sid
  MenuBar
    @/@MenuBar/@ThingIndex
    sname
    ThingIndex
    ssortWeight
    0
    sdescriptors
    xworker.lang.ThingMenuBar/@Menu
    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
    sid
    ThingIndex
      @/@MenuBar/@ThingIndex/@viewIndexs
      sname
      viewIndexs
      slabel
      View Indexs
      swindow
      xworker.swt.xworker.prototype.ThingIndexViewer
      splatform
      swt
      ssortWeight
      0
      sdescriptors
      xworker.lang.ThingMenuBar/@Menu/@Menu
      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
      sid
      viewIndexs
      @/@MenuBar/@ThingIndex/@listThings
      sname
      listThings
      slabel
      List Things
      scodeType
      txt
      Stemplate
#$@text#$@
<#list currentThing.doAction("getThings", actionContext) as th>
${th.metadata.path}
</#list>
#$@text#$@
      sdescriptors
      xworker.lang.thingmenus.Menus/@CodeWindow
      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
      sid
      listThings
