^1570527249037
@
sname
Display
slabel
Display
sdescriptors
xworker.lang.MetaDescriptor3
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
<p>SWT的Display。</p>
<p>因为Display的子事物通常是Shell，所以通常Display用于创建和编辑Shell。</p>
#$@text#$@
  @/@scripts
  sname
  scripts
  slabel
  scripts
  sdescriptors
  xworker.lang.MetaDescriptor3/@actions
  sid
  scripts
    @/@scripts/@create
    sname
    create
    slabel
    create
    sisSynchronized
    false
    sthrowException
    false
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.swt.widgets.DisplayCreator
    smethodName
    create
    sdescriptors
    xworker.lang.actions.JavaAction
    sid
    create
    @/@scripts/@asyncExec
    sname
    asyncExec
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.swt.widgets.DisplayCreator
    smethodName
    asyncExec
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.JavaAction
    sid
    asyncExec
    @/@scripts/@syncExec
    sname
    syncExec
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.swt.widgets.DisplayCreator
    smethodName
    syncExec
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.JavaAction
    sid
    syncExec
  @/@name
  sname
  name
  slabel
  name
  ssize
  40
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  name
  @/@Shell
  sname
  Shell
  slabel
  Shell
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.swt.widgets.Shell
  smany
  true
  seditCols
  2
  sinitialization
  false
  smodifier
  public
  sinheritDescription
  true
  sid
  Shell
  @/@menus
  sname
  menus
  slabel
  menus
  sdescriptors
  xworker.lang.MetaDescriptor3/@menus
  sid
  menus
    @/@menus/@dataObject
    sname
    menuSetting
    slabel
    menuSetting
    sdescriptors
    xworker.lang.MetaDescriptor3/@menu,xworker.lang.MetaDescriptor3/@menus/@menuSetting
    sid
    dataObject
      @/@menus/@dataObject/@toJavaCode
      sname
      toJavaCode
      slabel
      转换到Java
      sdescriptors
      core.objects.config.projectMenu/@menuSetting/@menu
      sid
      toJavaCode
      @/@menus/@dataObject/@runSwt
      sname
      runSwt
      slabel
      运行Swt
      sdescriptors
      core.objects.config.projectMenu/@menuSetting/@menu
      sid
      runSwt
  @/@scripts1
  sname
  scripts
  slabel
  scripts
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.lang.MetaDescriptor3/@actions
  smany
  false
  seditCols
  2
  sinitialization
  false
  Sdescription
#$@text#$@
如同Java的对象不仅可以有属性也可以有方法一样，数据对象同样也允许有脚本。<br />
<br />
数据对象的脚本分为脚本（Script）和闭包（Closure）两种，分别相当于Java对象的普通方法和静态方法，具体请参看Groovy脚本语言。
#$@text#$@
  sid
  scripts1
  @/@label
  sname
  label
  sinheritDescription
  false
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  label
  @/@description
  sname
  description
  sinputtype
  html
  scolspan
  2
  sreadOnly
  false
  sinheritDescription
  false
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  description
  @/@TrayItem
  sname
  TrayItem
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.swt.widgets.TrayItem
  smany
  true
  seditCols
  2
  sinitialization
  false
  smodifier
  public
  sinheritDescription
  true
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  TrayItem
  @/@Resource
  sname
  Resource
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.swt.util.Resource
  smany
  true
  seditCols
  2
  sinitialization
  false
  sgroup
  graphics
  smodifier
  public
  sinheritDescription
  true
  sid
  Resource
  @/@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
  sid
  VariablesDescs
    @/@VariablesDescs/@shell
    sname
    var
    svarName
    ognl:thing.getMetadata().getName()
    stype
    object
    sclassName
    org.eclipse.swt.widgets.Display
    sdescriptors
    xworker.lang.MetaThing/@VariablesDesc/@Object
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_fileMonitor
    false
    sth_mark
    false
    sid
    shell
