^1681886945012
@
sname
AttributeSelfDefineExample
stext
自定义属性编辑控件
sNO_TRIM
false
sCLOSE
true
sTITLE
true
sMIN
true
sMAX
true
sBORDER
false
sRESIZE
true
sON_TOP
false
sTOOL
false
sNO_FOCUS
false
swidth
600
sheight
400
scenterScreen
true
spack
false
smaximized
false
sfullScreen
false
sH_SCROLL
false
sV_SCROLL
false
sNO_BACKGROUND
false
sNO_MERGE_PAINTS
false
sNO_REDRAW_RESIZE
false
sNO_RADIO_GROUP
false
sEMBEDDED
false
sDOUBLE_BUFFERED
false
slabel
AttributeSelfDefineExample
scapture
false
senabled
true
sredraw
true
svisible
true
sdescriptors
xworker.swt.widgets.Shell
sth_createIndex
false
  @/@shellFillLayout
  sname
  shellFillLayout
  stype
  SWT.HORIZONTAL
  sdescriptors
  xworker.swt.Layouts/@FillLayout
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  shellFillLayout
  @/@mainComposite
  sname
  mainComposite
  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
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  mainComposite
    @/@mainComposite/@mainCompositeGridLayout
    sname
    mainCompositeGridLayout
    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
    sid
    mainCompositeGridLayout
    @/@mainComposite/@form
    sname
    form
    sdescriptors
    xworker.swt.app.view.swt.Items/@DataObjectForm
    sth_createIndex
    false
    sid
    form
      @/@mainComposite/@form/@dataObjects
      sname
      dataObjects
      sdescriptors
      xworker.swt.app.view.swt.widgets.form.DataObjectForm/@DataObjects
      sth_createIndex
      false
      sid
      dataObjects
        @/@mainComposite/@form/@dataObjects/@exampleDataObject
        sname
        exampleDataObject
        seditCols
        1
        spaging
        false
        sreadUrl
        do?sc=xworker.web.app.view.extjs.server.DataObjectStore/@read
        screateUrl
        do?sc=xworker.web.app.view.extjs.server.DataObjectStore/@create
        supdateUrl
        do?sc=xworker.web.app.view.extjs.server.DataObjectStore/@update
        sdestroyUrl
        do?sc=xworker.web.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
        sformReadUrl
        do?sc=xworker.web.app.view.extjs.server.DataObjectForm/@read
        sformCreateUrl
        do?sc=xworker.web.app.view.extjs.server.DataObjectForm/@create
        sformUpdateUrl
        do?sc=xworker.web.app.view.extjs.server.DataObjectForm/@update
        sformDestroyUrl
        do?sc=xworker.web.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
        autoInit
        scacheRelation
        false
        scacheRelationMaxSize
        1000
        scacheRelationReadnone
        false
        sdescriptors
        xworker.dataObject.DataObjects/@AbstractDataObject
        sth_createIndex
        false
        sid
        exampleDataObject
          @/@mainComposite/@form/@dataObjects/@exampleDataObject/@selfDefine
          sname
          selfDefine
          slabel
          自定义控件
          stype
          string
          soptional
          true
          skey
          false
          sdataField
          true
          sviewField
          true
          sreadField
          true
          screateEditor
          true
          seditEditor
          true
          sviewEditor
          true
          sgridEditor
          true
          squeryEditor
          true
          ssize
          60
          sreadOnly
          false
          seditable
          true
          sdisabled
          false
          sshowLabel
          true
          slabelAlign
          right
          slabelVAlign
          baseline
          svalidateAllowBlank
          true
          LvalidateOnBlur
          true
          LallowDecimals
          true
          LallowNegative
          true
          sshowInTable
          true
          sdisplayRelationLabel
          false
          sgridFixed
          false
          sgridHidden
          false
          sgridHideable
          true
          sgridSortable
          false
          scolumnLocked
          false
          sgridGroupable
          true
          sgridMenuDisabled
          false
          sgridResizable
          true
          sen_label
          Self Defined Input
          sdescriptors
          xworker.dataObject.AbstractDataObject/@attribute
          sinheritDescription
          false
          sth_createIndex
          false
          sth_registMyChilds
          false
          sth_registDisabled
          false
          sth_mark
          false
          sid
          selfDefine
            @/@mainComposite/@form/@dataObjects/@exampleDataObject/@selfDefine/@SwtObject
            sname
            SwtObject
            sdescriptors
            xworker.dataObject.AttributeEditConfig/@SwtObject
            sinheritDescription
            false
            sth_createIndex
            false
            sth_registMyChilds
            false
            sth_registDisabled
            false
            sth_mark
            false
            sid
            SwtObject
              @/@mainComposite/@form/@dataObjects/@exampleDataObject/@selfDefine/@SwtObject/@inputEditor
              sname
              inputEditor
              sdescriptors
              xworker.dataObject.AttributeEditConfig/@SwtObject/@inputEditor
              sinheritDescription
              false
              sth_createIndex
              false
              sth_registMyChilds
              false
              sth_registDisabled
              false
              sth_mark
              false
              sid
              inputEditor
                @/@mainComposite/@form/@dataObjects/@exampleDataObject/@selfDefine/@SwtObject/@inputEditor/@text
                sname
                text
                sstyle
                SINGLE
                sH_SCROLL
                false
                sV_SCROLL
                false
                sWRAP
                false
                sREAD_ONLY
                false
                sPASSWORD
                false
                sSEARCH
                false
                sCANCEL
                false
                sBORDER
                true
                salign
                LEFT
                scapture
                false
                senabled
                true
                sredraw
                true
                svisible
                true
                sdescriptors
                xworker.swt.Widgets/@Text
                sinheritDescription
                false
                sth_createIndex
                false
                sth_registMyChilds
                false
                sth_registDisabled
                false
                sth_mark
                false
                sid
                text
              @/@mainComposite/@form/@dataObjects/@exampleDataObject/@selfDefine/@SwtObject/@inputModel
              sname
              selfDefine
              sswtControl
              selfDefineInput
              spropertyName
              selfDefine
              sdataType
              String
              svalidate
              true
              sfocus
              false
              sfocusColor
              "#E8FAFF"
              svalidateAllowBlank
              true
              LvalidateOnBlur
              true
              LallowDecimals
              true
              LallowNegative
              true
              sdescriptors
              xworker.dataObject.AttributeEditConfig/@SwtObject/@inputModel
              sinheritDescription
              false
              sth_createIndex
              false
              sth_registMyChilds
              false
              sth_registDisabled
              false
              sth_mark
              false
              sid
              inputModel
          @/@mainComposite/@form/@dataObjects/@exampleDataObject/@selfDefineControl
          sname
          selfDefineControl
          slabel
          指定其它编辑控件
          stype
          string
          soptional
          true
          skey
          false
          sdataField
          true
          sviewField
          true
          sreadField
          true
          screateEditor
          true
          seditEditor
          true
          sviewEditor
          true
          sgridEditor
          true
          squeryEditor
          true
          sinputtype
          inputAttrDefined
          sreadOnly
          false
          seditable
          true
          sdisabled
          false
          sshowLabel
          true
          slabelAlign
          right
          slabelVAlign
          baseline
          svalidateAllowBlank
          true
          LvalidateOnBlur
          true
          LallowDecimals
          true
          LallowNegative
          true
          sinputattrs
          xworker.swt.xworker.attributeEditor.DateTimeEditor
          sshowInTable
          true
          sdisplayRelationLabel
          false
          sgridFixed
          false
          sgridHidden
          false
          sgridHideable
          true
          sgridSortable
          false
          scolumnLocked
          false
          sgridGroupable
          true
          sgridMenuDisabled
          false
          sgridResizable
          true
          sen_label
          Set From inputattrs
          sdescriptors
          xworker.dataObject.AbstractDataObject/@attribute
          sinheritDescription
          false
          sth_createIndex
          false
          sth_registMyChilds
          false
          sth_registDisabled
          false
          sth_mark
          false
          sid
          selfDefineControl
          @/@mainComposite/@form/@dataObjects/@exampleDataObject/@addListener
          sname
          addListener
          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
          sshowLabel
          true
          slabelAlign
          right
          slabelVAlign
          baseline
          svalidateAllowBlank
          true
          LvalidateOnBlur
          true
          LallowDecimals
          true
          LallowNegative
          true
          sshowInTable
          true
          sgridFixed
          false
          sgridHidden
          false
          sgridHideable
          true
          sgridSortable
          false
          scolumnLocked
          false
          sgridGroupable
          true
          sgridMenuDisabled
          false
          sgridResizable
          true
          sen_label
          Add Focusout Listener
          sdescriptors
          xworker.dataObject.AbstractDataObject/@attribute
          sinheritDescription
          false
          sth_createIndex
          false
          sth_registMyChilds
          false
          sth_registDisabled
          false
          sth_mark
          false
          sid
          addListener
            @/@mainComposite/@form/@dataObjects/@exampleDataObject/@addListener/@SwtObject
            sname
            SwtObject
            sdescriptors
            xworker.dataObject.AttributeEditConfig/@SwtObject
            sth_createIndex
            false
            sid
            SwtObject
              @/@mainComposite/@form/@dataObjects/@exampleDataObject/@addListener/@SwtObject/@inputExtend
              sname
              inputExtend
              sdescriptors
              xworker.dataObject.AttributeEditConfig/@SwtObject/@inputExtend
              sth_createIndex
              false
              sid
              inputExtend
                @/@mainComposite/@form/@dataObjects/@exampleDataObject/@addListener/@SwtObject/@inputExtend/@listeners
                sname
                listeners
                sdescriptors
                xworker.swt.events.Listeners/@listeners
                sth_createIndex
                false
                sid
                listeners
                  @/@mainComposite/@form/@dataObjects/@exampleDataObject/@addListener/@SwtObject/@inputExtend/@listeners/@Listener
                  sname
                  Listener
                  stype
                  FocusOut
                  sdescriptors
                  xworker.swt.events.Listeners/@listeners/@Listener
                  sth_createIndex
                  false
                  sid
                  Listener
                    @/@mainComposite/@form/@dataObjects/@exampleDataObject/@addListener/@SwtObject/@inputExtend/@listeners/@Listener/@tip
                    sname
                    tip
                    sicon
                    ICON_INFORMATION
                    sbuttons
                    OK
                    stitle
                    lang:d=提示&en=Tip
                    smessage
                    lang:d=焦点离开了。&en=Focus out!
                    sinterpretationType
                    Self
                    sattributeTemplate
                    false
                    schildsAttributeTemplate
                    false
                    svarScope
                    Local
                    sisSynchronized
                    false
                    sthrowException
                    true
                    screateLocalVarScope
                    false
                    ssaveReturn
                    false
                    sdisableGlobalContext
                    false
                    sdebugLog
                    false
                    sdescriptors
                    xworker.swt.actions.MessageBoxActions/@MessageBox
                    sth_createIndex
                    false
                    sid
                    tip
      @/@mainComposite/@form/@formGridData
      sname
      formGridData
      sstyle
      FILL_BOTH
      shorizontalIndent
      0
      swidth
      -1
      sheight
      -1
      shorizontalAlignment
      BEGINNING
      sverticalAlignment
      CENTER
      shorizontalSpan
      1
      sverticalSpan
      1
      sgrabExcessHorizontalSpace
      false
      sgrabExcessVerticalSpace
      false
      sdescriptors
      xworker.swt.layout.LayoutDatas/@GridData
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      formGridData
    @/@mainComposite/@values
    sname
    valuesText
    sstyle
    MULTI
    sH_SCROLL
    false
    sV_SCROLL
    false
    sWRAP
    false
    sREAD_ONLY
    false
    sPASSWORD
    false
    sSEARCH
    false
    sCANCEL
    false
    sBORDER
    true
    salign
    LEFT
    scapture
    false
    senabled
    true
    sredraw
    true
    svisible
    true
    sdescriptors
    xworker.swt.Widgets/@Text
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    values
      @/@mainComposite/@values/@valuesGridData
      sname
      valuesGridData
      sstyle
      FILL_HORIZONTAL
      shorizontalIndent
      0
      swidth
      -1
      sheight
      100
      shorizontalAlignment
      BEGINNING
      sverticalAlignment
      CENTER
      shorizontalSpan
      1
      sverticalSpan
      1
      sgrabExcessHorizontalSpace
      false
      sgrabExcessVerticalSpace
      false
      sdescriptors
      xworker.swt.layout.LayoutDatas/@GridData
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      valuesGridData
    @/@mainComposite/@8380
    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
    sid
    8380
      @/@mainComposite/@8380/@8381
      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
      sid
      8381
      @/@mainComposite/@8380/@8382
      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
      sid
      8382
      @/@mainComposite/@8380/@8387
      sname
      getValueButton
      stext
      取值
      stype
      SWT.PUSH
      sflat
      false
      sborder
      false
      sselected
      false
      scapture
      false
      senabled
      true
      sredraw
      true
      svisible
      true
      sdescriptors
      xworker.swt.Widgets/@Button
      sth_createIndex
      false
      sid
      8387
        @/@mainComposite/@8380/@8387/@8388
        sname
        RowData
        sexclude
        false
        swidth
        80
        sheight
        -1
        sdescriptors
        xworker.swt.layout.LayoutDatas/@RowData
        sth_createIndex
        false
        sid
        8388
        @/@mainComposite/@8380/@8387/@8389
        sname
        Listeners
        sdescriptors
        xworker.swt.widgets.Widget/@Listeners
        sth_createIndex
        false
        sid
        8389
          @/@mainComposite/@8380/@8387/@8389/@8390
          sname
          getValueButtonSelection
          stype
          Selection
          sdescriptors
          xworker.swt.events.Listeners/@listeners/@Listener
          sth_createIndex
          false
          sid
          8390
            @/@mainComposite/@8380/@8387/@8389/@8390/@GroovyAction
            sname
            GroovyAction
            sisSynchronized
            false
            sthrowException
            true
            suseOtherAction
            false
            svarScope
            Local
            sdisableGlobalContext
            false
            Scode
#$@text#$@
import xworker.dataObject.utils.JacksonFormator;

def values = form.doAction("getValues", actionContext);
def json = JacksonFormator.formatObject(values);
//println(values);
if(json != null){
    valuesText.setText(json);
}
#$@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
            sid
            GroovyAction
      @/@mainComposite/@8380/@8383
      sname
      setValueButton
      stext
      设置值
      stype
      SWT.PUSH
      sflat
      false
      sborder
      false
      sselected
      false
      scapture
      false
      senabled
      true
      sredraw
      true
      svisible
      true
      sdescriptors
      xworker.swt.Widgets/@Button
      sth_createIndex
      false
      sid
      8383
        @/@mainComposite/@8380/@8383/@8384
        sname
        RowData
        sexclude
        false
        swidth
        80
        sheight
        -1
        sdescriptors
        xworker.swt.layout.LayoutDatas/@RowData
        sth_createIndex
        false
        sid
        8384
        @/@mainComposite/@8380/@8383/@8385
        sname
        Listeners
        sdescriptors
        xworker.swt.widgets.Widget/@Listeners
        sth_createIndex
        false
        sid
        8385
          @/@mainComposite/@8380/@8383/@8385/@8386
          sname
          setValueButtonSelection
          stype
          Selection
          sdescriptors
          xworker.swt.events.Listeners/@listeners/@Listener
          sth_createIndex
          false
          sid
          8386
            @/@mainComposite/@8380/@8383/@8385/@8386/@Try
            sname
            Try
            sexceptionVarName
            e
            sinterpretationType
            Self
            sattributeTemplate
            false
            schildsAttributeTemplate
            false
            svarScope
            Local
            sisSynchronized
            false
            sthrowException
            true
            screateLocalVarScope
            false
            ssaveReturn
            false
            sswitchResult
            false
            sdisableGlobalContext
            false
            sdebugLog
            false
            sdescriptors
            xworker.lang.actions.Actions/@Try
            sinheritDescription
            false
            sth_createIndex
            false
            sth_registMyChilds
            false
            sth_registDisabled
            false
            sth_mark
            false
            sid
            Try
              @/@mainComposite/@8380/@8383/@8385/@8386/@Try/@GroovyAction
              sname
              GroovyAction
              sisSynchronized
              false
              sthrowException
              true
              suseOtherAction
              false
              svarScope
              Local
              sdisableGlobalContext
              false
              Scode
#$@text#$@
import xworker.dataObject.utils.JacksonFormator;

def values = JacksonFormator.parseObject(valuesText.getText());
form.doAction("setValues", actionContext, "values", values);
#$@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
              sid
              GroovyAction
              @/@mainComposite/@8380/@8383/@8385/@8386/@Try/@MessageBox
              sname
              catch
              sshell
              ognl:mainComposite.getShell()
              sicon
              ICON_ERROR
              sbuttons
              OK
              stitle
              自定义属性编辑器
              smessage
              ognl:e.toString()
              sinterpretationType
              Self
              sattributeTemplate
              false
              schildsAttributeTemplate
              false
              svarScope
              Local
              sisSynchronized
              false
              sthrowException
              true
              screateLocalVarScope
              false
              ssaveReturn
              false
              sswitchResult
              false
              sdisableGlobalContext
              false
              sdebugLog
              false
              sdescriptors
              xworker.swt.actions.MessageBoxActions/@MessageBox
              sinheritDescription
              false
              sth_createIndex
              false
              sth_registMyChilds
              false
              sth_registDisabled
              false
              sth_mark
              false
              sid
              MessageBox
