^1640740804222
@
sname
shell
stext
用户任务管理
sNO_TRIM
false
sCLOSE
true
sTITLE
true
sMIN
true
sMAX
true
sBORDER
false
sRESIZE
false
sON_TOP
false
sTOOL
false
sNO_FOCUS
false
swidth
800
sheight
600
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
UserTaskManager
scapture
false
senabled
true
sredraw
true
svisible
true
sdescriptors
xworker.swt.widgets.Shell
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_mark
false
  @/@shellFillLayout
  sname
  shellFillLayout
  stype
  SWT.HORIZONTAL
  sdescriptors
  xworker.swt.Layouts/@FillLayout
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  shellFillLayout
  @/@composite
  sname
  composite
  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
  slabel
  用户任务
  scapture
  false
  senabled
  true
  sredraw
  true
  svisible
  true
  sdescriptors
  xworker.swt.Widgets/@Composite
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sicon
  icons/user_go.png
  sth_fileMonitor
  false
  sth_mark
  false
  sid
  composite
    @/@composite/@compositeGridLayout
    sname
    compositeGridLayout
    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_mark
    false
    sid
    compositeGridLayout
    @/@composite/@sashForm
    sname
    sashForm
    sstyle
    VERTICAL
    sSMOOTH
    false
    sweights
    80,20
    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/@SashForm
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    sashForm
      @/@composite/@sashForm/@taskTable
      sname
      taskTable
      sselectStyle
      SINGLE
      sV_SCROLL
      true
      sH_SCROLL
      true
      sCHECK
      false
      sFULL_SELECTION
      true
      sHIDE_SELECTION
      true
      sBORDER
      false
      slineVisible
      true
      smultipleColumns
      true
      sheaderVisible
      true
      ssortIndicator
      true
      smoveableColumns
      true
      sheadImages
      false
      ssubImages
      false
      sVIRTUAL
      false
      scapture
      false
      senabled
      true
      sredraw
      true
      svisible
      true
      sdescriptors
      xworker.swt.Widgets/@Table
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_mark
      false
      sid
      taskTable
        @/@composite/@sashForm/@taskTable/@DataStore
        sname
        DataStore
        sattachToParent
        true
        sloadBackground
        false
        sautoLoad
        false
        sautoSave
        false
        spaging
        extend
        spageSize
        50
        sstoreSortField
        _extend
        sstoreSortDir
        ASC
        seditable
        extend
        seditmethod
        extend
        sdescriptors
        xworker.swt.widgets.Table/@DataStore
        sinheritDescription
        false
        sth_createIndex
        false
        sth_registMyChilds
        false
        sth_mark
        false
        sid
        DataStore
          @/@composite/@sashForm/@taskTable/@DataStore/@dataObjects
          sname
          dataObjects
          sdescriptors
          xworker.swt.app.view.swt.data.DataStore/@DataObjects
          sinheritDescription
          false
          sth_createIndex
          false
          sth_registMyChilds
          false
          sth_mark
          false
          sid
          dataObjects
            @/@composite/@sashForm/@taskTable/@DataStore/@dataObjects/@AbstractDataObject
            sname
            AbstractDataObject
            seditCols
            2
            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
            sgridEditType
            cell
            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
            beforeCreate
            scacheRelation
            false
            scacheRelationMaxSize
            1000
            scacheRelationReadnone
            false
            safterCreated
            false
            sonLoaded
            false
            sbeforeUpdate
            false
            safterUpdated
            false
            sbeforeDelete
            false
            safterDeleted
            false
            safterQueryed
            false
            sdescriptors
            xworker.dataObject.DataObjects/@AbstractDataObject
            sinheritDescription
            false
            sth_createIndex
            false
            sth_registMyChilds
            false
            sth_mark
            false
            sid
            AbstractDataObject
              @/@composite/@sashForm/@taskTable/@DataStore/@dataObjects/@AbstractDataObject/@name
              sname
              name
              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
              sdisabled
              false
              sshowLabel
              true
              slabelAlign
              right
              slabelVAlign
              baseline
              svalidateAllowBlank
              true
              LvalidateOnBlur
              true
              LallowDecimals
              true
              LallowNegative
              true
              sshowInTable
              true
              sgridWidth
              200
              sdisplayRelationLabel
              false
              sgridFixed
              false
              sgridHidden
              false
              sgridHideable
              true
              sgridSortable
              false
              scolumnLocked
              false
              sgridGroupable
              true
              sgridMenuDisabled
              false
              sgridResizable
              true
              sdescriptors
              xworker.dataObject.AbstractDataObject/@attribute
              sinheritDescription
              false
              sth_createIndex
              false
              sth_registMyChilds
              false
              sth_mark
              false
              sid
              name
              @/@composite/@sashForm/@taskTable/@DataStore/@dataObjects/@AbstractDataObject/@status
              sname
              status
              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
              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
              sdescriptors
              xworker.dataObject.AbstractDataObject/@attribute
              sinheritDescription
              false
              sth_createIndex
              false
              sth_registMyChilds
              false
              sth_mark
              false
              sid
              status
              @/@composite/@sashForm/@taskTable/@DataStore/@dataObjects/@AbstractDataObject/@taskLabel
              sname
              taskLabel
              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
              sdisabled
              false
              sshowLabel
              true
              slabelAlign
              right
              slabelVAlign
              baseline
              svalidateAllowBlank
              true
              LvalidateOnBlur
              true
              LallowDecimals
              true
              LallowNegative
              true
              sshowInTable
              true
              sgridWidth
              400
              sdisplayRelationLabel
              false
              sgridFixed
              false
              sgridHidden
              false
              sgridHideable
              true
              sgridSortable
              false
              scolumnLocked
              false
              sgridGroupable
              true
              sgridMenuDisabled
              false
              sgridResizable
              true
              sdescriptors
              xworker.dataObject.AbstractDataObject/@attribute
              sinheritDescription
              false
              sth_createIndex
              false
              sth_registMyChilds
              false
              sth_mark
              false
              sid
              taskLabel
              @/@composite/@sashForm/@taskTable/@DataStore/@dataObjects/@AbstractDataObject/@progress
              sname
              progress
              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
              sdisabled
              false
              sshowLabel
              true
              slabelAlign
              right
              slabelVAlign
              baseline
              svalidateAllowBlank
              true
              LvalidateOnBlur
              true
              LallowDecimals
              true
              LallowNegative
              true
              sshowInTable
              true
              sgridWidth
              200
              sdisplayRelationLabel
              false
              sgridFixed
              false
              sgridHidden
              false
              sgridHideable
              true
              sgridSortable
              false
              scolumnLocked
              false
              sgridGroupable
              true
              sgridMenuDisabled
              false
              sgridResizable
              true
              sdescriptors
              xworker.dataObject.AbstractDataObject/@attribute
              sinheritDescription
              false
              sth_createIndex
              false
              sth_registMyChilds
              false
              sth_mark
              false
              sid
              progress
        @/@composite/@sashForm/@taskTable/@Listeners
        sname
        Listeners
        sdescriptors
        xworker.swt.widgets.Widget/@Listeners
        sinheritDescription
        false
        sth_createIndex
        false
        sth_registMyChilds
        false
        sth_mark
        false
        sid
        Listeners
          @/@composite/@sashForm/@taskTable/@Listeners/@tableDispose
          sname
          tableDispose
          stype
          Dispose
          sdescriptors
          xworker.swt.events.Listeners/@listeners/@Listener
          sinheritDescription
          false
          sth_createIndex
          false
          sth_registMyChilds
          false
          sth_mark
          false
          sid
          tableDispose
            @/@composite/@sashForm/@taskTable/@Listeners/@tableDispose/@tableDispose
            sname
            tableDispose
            sisSynchronized
            false
            sthrowException
            true
            suseOtherAction
            false
            suseOuterJava
            true
            suseInnerJava
            false
            souterClassName
            xworker.ide.task.IDEUserTaskManager
            smethodName
            dispose
            sdisableGlobalContext
            false
            sattributeTemplate
            false
            sinterpretationType
            Action
            svarScope
            Global
            screateLocalVarScope
            false
            ssaveReturn
            false
            sdescriptors
            xworker.lang.actions.Actions/@JavaAction
            sinheritDescription
            false
            sth_createIndex
            false
            sth_registMyChilds
            false
            sth_mark
            false
            sid
            tableDispose
          @/@composite/@sashForm/@taskTable/@Listeners/@tableSelection
          sname
          tableSelection
          stype
          Selection
          sdescriptors
          xworker.swt.events.Listeners/@listeners/@Listener
          sinheritDescription
          false
          sth_createIndex
          false
          sth_registMyChilds
          false
          sth_mark
          false
          sid
          tableSelection
            @/@composite/@sashForm/@taskTable/@Listeners/@tableSelection/@GroovyAction
            sname
            GroovyAction
            sisSynchronized
            false
            sthrowException
            true
            suseOtherAction
            false
            svarScope
            Local
            sdisableGlobalContext
            false
            Scode
#$@text#$@
import xworker.lang.task.UserTask;

def task = event.item.getData();
if(task.getStatus() == UserTask.RUNING || task.getStatus() == UserTask.WAIT){
    terminateButton.setEnabled(true);
}else{
    terminateButton.setEnabled(false);
}

if(task.getDetail() != null){
    browser.setText(task.getDetail());
}else{
    browser.setText("");
}
#$@text#$@
            sinterpretationType
            Action
            screateLocalVarScope
            false
            ssaveReturn
            false
            sdescriptors
            xworker.lang.actions.Actions/@GroovyAction
            sinheritDescription
            false
            sth_createIndex
            false
            sth_registMyChilds
            false
            sth_mark
            false
            sid
            GroovyAction
      @/@composite/@sashForm/@browser
      sname
      browser
      sMOZILLA
      false
      sWEBKIT
      false
      sjavascriptEnabled
      true
      sdescriptors
      xworker.swt.Widgets/@Browser
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_mark
      false
      sid
      browser
      @/@composite/@sashForm/@sashFormGridData
      sname
      sashFormGridData
      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_mark
      false
      sid
      sashFormGridData
    @/@composite/@20773
    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
    20773
      @/@composite/@20773/@20774
      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
      20774
      @/@composite/@20773/@20775
      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
      20775
      @/@composite/@20773/@20776
      sname
      terminateButton
      stext
      终止任务
      stype
      SWT.PUSH
      sflat
      false
      sborder
      false
      sselected
      false
      scapture
      false
      senabled
      false
      sredraw
      true
      svisible
      true
      sdescriptors
      xworker.swt.Widgets/@Button
      sth_createIndex
      false
      sid
      20776
        @/@composite/@20773/@20776/@20777
        sname
        RowData
        sexclude
        false
        swidth
        120
        sheight
        -1
        sdescriptors
        xworker.swt.layout.LayoutDatas/@RowData
        sth_createIndex
        false
        sid
        20777
        @/@composite/@20773/@20776/@20778
        sname
        Listeners
        sdescriptors
        xworker.swt.widgets.Widget/@Listeners
        sth_createIndex
        false
        sid
        20778
          @/@composite/@20773/@20776/@20778/@20779
          sname
          terminateButtonSelection
          stype
          Selection
          sdescriptors
          xworker.swt.events.Listeners/@listeners/@Listener
          sth_createIndex
          false
          sid
          20779
            @/@composite/@20773/@20776/@20778/@20779/@GroovyAction
            sname
            GroovyAction
            sisSynchronized
            false
            sthrowException
            true
            suseOtherAction
            false
            svarScope
            Local
            sdisableGlobalContext
            false
            Scode
#$@text#$@
import xworker.lang.task.UserTask;

def s = taskTable.getSelection();
if(s != null && s.length > 0){
   s[0].getData().cancel();
   terminateButton.setEnabled(false);
}
#$@text#$@
            sinterpretationType
            Action
            screateLocalVarScope
            false
            ssaveReturn
            false
            sdescriptors
            xworker.lang.actions.Actions/@GroovyAction
            sinheritDescription
            false
            sth_createIndex
            false
            sth_registMyChilds
            false
            sth_mark
            false
            sid
            GroovyAction
    @/@composite/@init
    sname
    init
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    suseInnerJava
    false
    souterClassName
    xworker.ide.task.IDEUserTaskManager
    smethodName
    init
    sdisableGlobalContext
    false
    sattributeTemplate
    false
    sinterpretationType
    Action
    svarScope
    Global
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdescriptors
    xworker.swt.Widgets/@JavaCode
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    init
