^1683338980158
@
sname
DisplayActions
slabel
DisplayActions
sdescriptors
xworker.lang.MetaDescriptor3
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
snotXmlAttribute
false
sjson_isArray
false
sth_createIndex
true
sth_registThing
child|xworker.lang.actions.Actions||
sth_registMyChilds
true
sth_registDisabled
false
sth_noThingRegistViewer
false
sth_fileMonitor
false
sth_deprecated
false
sth_mark
false
sth_registQueryOnlySelf
false
sgroupDescriptor
false
  @/@DisplayExec
  sname
  DisplayExec
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.lang.actions.SelfAction
  smany
  true
  seditCols
  2
  sinitialization
  false
  sgroup
  swt
  smodifier
  public
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>SWT的控件调用线程必须和Display的线程是同一个，因此如果执行线程和Display可能不是同一个，那么可以使用本方法同步。</p>

<p>执行的动作的名称是：<strong>doAction。</strong></p>

<p>如果获取display的widget是disposed=true，或当前没有display，那么执行的动作名称是：<strong>onDisplayError</strong>。</p>
#$@text#$@
  snotXmlAttribute
  false
  sjson_isArray
  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
  sgroupDescriptor
  false
  sid
  DisplayExec
    @/@DisplayExec/@actions1
    sname
    actions
    sdescriptors
    xworker.lang.MetaDescriptor3/@actions
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    actions1
      @/@DisplayExec/@actions1/@run
      sname
      run
      sisSynchronized
      false
      sthrowException
      true
      suseOtherAction
      false
      suseOuterJava
      true
      souterClassName
      xworker.swt.actions.DisplayActions
      smethodName
      exec
      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
      run
      @/@DisplayExec/@actions1/@onDisplayError
      sname
      onDisplayError
      sisSynchronized
      false
      sthrowException
      true
      suseOtherAction
      false
      suseOuterJava
      true
      suseInnerJava
      false
      souterClassName
      xworker.swt.actions.DisplayActions
      smethodName
      onDisplayError
      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
      sid
      onDisplayError
    @/@DisplayExec/@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
    @/@DisplayExec/@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
    @/@DisplayExec/@control
    sname
    widgetForDisplay
    ssize
    40
    sshowLabel
    true
    sreadOnly
    false
    sinheritDescription
    false
    sdescription
    <p>通过Ognl表达式获取，如果不为空，那么试图通过widget.getDisplay()获取Display，否则使用Display.getCurrent()获取Display。</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
    control
    @/@DisplayExec/@type
    sname
    type
    sinputtype
    select
    sshowLabel
    true
    sreadOnly
    false
    sdefault
    async
    sinheritDescription
    false
    Sdescription
#$@text#$@
<p><strong>执行方式：</strong></p>

<ul>
	<li>sync：同步，当前线程会等待执行的线程执行完毕后再继续。</li>
	<li>async：异步，当前线程不等待执行结束。</li>
</ul>
#$@text#$@
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    type
      @/@DisplayExec/@type/@sync
      sname
      sync
      slabel
      sync
      svalue
      sync
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_mark
      false
      sid
      sync
      @/@DisplayExec/@type/@async
      sname
      async
      slabel
      async
      svalue
      async
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute/@value
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_mark
      false
      sid
      async
    @/@DisplayExec/@variables
    sname
    variables
    ssize
    60
    sshowLabel
    true
    sreadOnly
    false
    sinheritDescription
    false
    Sdescription
#$@text#$@
<p>需要保存的变量。</p>

<p>通常有可能Display的执行是在另外一个线程里，因此除了全局变量外局部变量救护丢失，比如事件的event参数等，使用这个字段可以先获取变量，然后在执行时作为参数重新传入。</p>

<p>如果有多个使用英文的逗号隔开。</p>
#$@text#$@
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    variables
    @/@DisplayExec/@cancelTaskOnWidgetDisposed
    sname
    cancelTaskOnWidgetDisposed
    sinputtype
    truefalse
    sshowLabel
    true
    sreadOnly
    false
    sdefault
    false
    sinheritDescription
    false
    Sdescription
#$@text#$@
<p>如果为true且当前动作是在一个任务Task下执行的，那么如果用于获取display的widget失效了，那么也终止任务。</p>

<p>这是附加于Task的功能，为了方便Task而设置的。</p>
#$@text#$@
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    cancelTaskOnWidgetDisposed
    @/@DisplayExec/@description
    sname
    description
    sinputtype
    html
    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
    description
    @/@DisplayExec/@actions
    sname
    actions
    slabel
    Actions
    sdescriptors
    xworker.lang.MetaDescriptor2/@thing
    sextends
    xworker.lang.actions.Actions
    smany
    true
    seditCols
    2
    Sdescription
#$@text#$@
<p>通过该节点创建一个<strong>doAction</strong>的动作，Display会执行doAction这个动作。</p>

<p>如果display=null，那么会执行<strong>onDisplayError</strong>的动作。</p>
#$@text#$@
    szh_label
    动作
    sth_createIndex
    false
    sid
    actions
      @/@DisplayExec/@actions/@name
      sname
      name
      sdescriptors
      xworker.lang.MetaDescriptor2/@attribute
      sid
      name
