^1659332984329
@
sname
UserDailyNoteEditor
slabel
UserDailyNoteEditor
ssingleInstance
false
scloseable
true
suseRef
false
sdescriptors
xworker.swt.app.view.swt.app.workbentch.Editor
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_mark
false
  @/@Control
  sname
  Control
  sdescriptors
  xworker.swt.app.view.swt.app.workbentch.Editor/@Control
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  Control
    @/@Control/@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_mark
    false
    sid
    composite
      @/@Control/@composite/@compositeFillLayout
      sname
      compositeFillLayout
      stype
      SWT.HORIZONTAL
      sdescriptors
      xworker.swt.Layouts/@FillLayout
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_mark
      false
      sid
      compositeFillLayout
      @/@Control/@composite/@sashForm
      sname
      sashForm
      sstyle
      HORIZONTAL
      sSMOOTH
      false
      sweights
      30,70
      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
        @/@Control/@composite/@sashForm/@userSashForm
        sname
        userSashForm
        sstyle
        VERTICAL
        sSMOOTH
        false
        sweights
        50,50
        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
        spack
        false
        svisible
        true
        sdescriptors
        xworker.swt.Widgets/@SashForm
        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
        userSashForm
          @/@Control/@composite/@sashForm/@userSashForm/@tree
          sname
          userGroupTree
          sselectStyle
          SINGLE
          sV_SCROLL
          true
          sH_SCROLL
          true
          sCHECK
          false
          sFULL_SELECTION
          true
          sHIDE_SELECTION
          true
          sBORDER
          false
          slineVisible
          false
          smultipleColumns
          false
          sheaderVisible
          false
          ssortIndicator
          false
          smoveableColumns
          false
          sheadImages
          false
          ssubImages
          false
          scheckSelection
          false
          scapture
          false
          senabled
          true
          sredraw
          true
          spack
          false
          svisible
          true
          sdescriptors
          xworker.swt.Widgets/@Tree
          sinheritDescription
          false
          sth_createIndex
          false
          sth_registMyChilds
          false
          sth_mark
          false
          sid
          tree
            @/@Control/@composite/@sashForm/@userSashForm/@tree/@TreeModels
            sname
            TreeModels
            sdescriptors
            xworker.swt.widgets.Tree/@treeModels
            sinheritDescription
            false
            sth_createIndex
            false
            sth_registMyChilds
            false
            sth_mark
            false
            sid
            TreeModels
              @/@Control/@composite/@sashForm/@userSashForm/@tree/@TreeModels/@treeModel1
              sname
              treeModel
              sdataObject
              xworker.app.user.dataobjects.UserGroup
              srootId
              0
              sidField
              id:tid
              sparentIdField
              parentId
              stextField
              name
              srootVisible
              false
              sbindToParent
              true
              sloadBackground
              false
              sdelayLoad
              true
              sdescriptors
              xworker.dataObject.app.model.tree.TreeModels/@DataObjectTreeModel1
              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
              treeModel1
            @/@Control/@composite/@sashForm/@userSashForm/@tree/@Listeners
            sname
            Listeners
            sdescriptors
            xworker.swt.widgets.Widget/@Listeners
            sinheritDescription
            false
            sth_createIndex
            false
            sth_registMyChilds
            false
            sth_mark
            false
            sid
            Listeners
              @/@Control/@composite/@sashForm/@userSashForm/@tree/@Listeners/@treeSelection
              sname
              treeSelection
              stype
              Selection
              sdescriptors
              xworker.swt.events.Listeners/@listeners/@Listener
              sinheritDescription
              false
              sth_createIndex
              false
              sth_registMyChilds
              false
              sth_mark
              false
              sid
              treeSelection
                @/@Control/@composite/@sashForm/@userSashForm/@tree/@Listeners/@treeSelection/@Begin
                sname
                Begin
                schangeSelf
                false
                sinterpretationType
                Self
                sattributeTemplate
                false
                schildsAttributeTemplate
                false
                svarScope
                Local
                sisSynchronized
                false
                sthrowException
                true
                suseOtherAction
                false
                screateLocalVarScope
                false
                ssaveReturn
                false
                sdisableGlobalContext
                false
                sdescriptors
                xworker.lang.actions.Actions/@ActionGroup
                sinheritDescription
                false
                sth_createIndex
                false
                sth_registMyChilds
                false
                sth_mark
                false
                sid
                Begin
                  @/@Control/@composite/@sashForm/@userSashForm/@tree/@Listeners/@treeSelection/@Begin/@actions
                  sname
                  actions
                  sdescriptors
                  xworker.lang.actions.Begin/@actions
                  sinheritDescription
                  false
                  sth_createIndex
                  false
                  sth_registMyChilds
                  false
                  sth_mark
                  false
                  sid
                  actions
                    @/@Control/@composite/@sashForm/@userSashForm/@tree/@Listeners/@treeSelection/@Begin/@actions/@Ongl
                    sname
                    setResult
                    sexpression
                    event.item.data.id
                    sinterpretationType
                    Self
                    sattributeTemplate
                    false
                    schildsAttributeTemplate
                    false
                    svarScope
                    Global
                    sisSynchronized
                    false
                    sthrowException
                    true
                    suseOtherAction
                    false
                    screateLocalVarScope
                    false
                    ssaveReturn
                    true
                    sreturnVarName
                    result
                    sdisableGlobalContext
                    false
                    sdescriptors
                    xworker.lang.actions.Actions/@Ongl
                    sinheritDescription
                    false
                    sth_createIndex
                    false
                    sth_registMyChilds
                    false
                    sth_mark
                    false
                    sid
                    Ongl
                    @/@Control/@composite/@sashForm/@userSashForm/@tree/@Listeners/@treeSelection/@Begin/@actions/@initCondition
                    sname
                    initCondition
                    sisSynchronized
                    false
                    sthrowException
                    true
                    suseOtherAction
                    false
                    svarScope
                    Local
                    sdisableGlobalContext
                    false
                    Scode
#$@text#$@
def data = event.item.getData().getSource();
def id = data.get("id");


dataStore.doAction("load", actionContext, 
    "params", ["userGroupId": id]);

dailySashForm.setEnabled(false);
#$@text#$@
                    sinterpretationType
                    Action
                    screateLocalVarScope
                    false
                    ssaveReturn
                    true
                    sreturnVarName
                    condition
                    sswitchResult
                    false
                    sdebugLog
                    false
                    sdescriptors
                    xworker.lang.actions.Actions/@GroovyAction
                    sinheritDescription
                    false
                    sth_createIndex
                    false
                    sth_registMyChilds
                    false
                    sth_mark
                    false
                    sid
                    initCondition
            @/@Control/@composite/@sashForm/@userSashForm/@tree/@treeGridData
            sname
            treeGridData
            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
            treeGridData
          @/@Control/@composite/@sashForm/@userSashForm/@userTable
          sname
          userTable
          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
          userTable
            @/@Control/@composite/@sashForm/@userSashForm/@userTable/@DataStore
            sname
            dataStore
            sattachToParent
            true
            sloadBackground
            false
            sautoLoad
            true
            sautoSave
            false
            spaging
            extend
            spageSize
            50
            sstoreSortField
            _extend
            sstoreSortDir
            ASC
            seditable
            extend
            seditmethod
            extend
            sdynamicLoadChilds
            true
            ssourceDataAddType
            end
            ssourceDataNoFilter
            false
            sdescriptors
            xworker.swt.widgets.Table/@DataStore
            sinheritDescription
            false
            sth_createIndex
            false
            sth_registMyChilds
            false
            sth_mark
            false
            sid
            DataStore
              @/@Control/@composite/@sashForm/@userSashForm/@userTable/@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
                @/@Control/@composite/@sashForm/@userSashForm/@userTable/@DataStore/@dataObjects/@DbDataObject
                sname
                DbDataObject
                slabel
                用户分组成员
                stableName
                tblUserGroupMembers
                sdataSource
                xworker.app.user.datasource.UserDataSource
                sshowSql
                false
                squerySqlForQueryOnly
                false
                seditCols
                2
                sgroup
                xworker.app.user
                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
                true
                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
                true
                sgridRowNumber
                false
                sgridGrouping
                false
                sgridGroupTextTpl
                '{text} ({[values.rs.length]} 条)'
                sgridRowExpander
                false
                sautoGenerateId
                true
                sidGenerateType
                native
                sidAction
                generateId
                sstoreSortDir
                ASC
                sautoInit
                true
                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/@DbDataObject,xworker.dataObject.db.DbDataObject
                sinheritDescription
                false
                sth_createIndex
                true
                sth_registThing
                child|xworker.dataObject.DataObjectIns
                sth_registMyChilds
                false
                sth_mark
                false
                sid
                DbDataObject
                  @/@Control/@composite/@sashForm/@userSashForm/@userTable/@DataStore/@dataObjects/@DbDataObject/@userGroupId
                  sname
                  userGroupId
                  slabel
                  用户分组标识
                  sfieldName
                  userGroupId
                  stype
                  long
                  soptional
                  true
                  skey
                  false
                  sdataField
                  true
                  sviewField
                  true
                  sreadField
                  true
                  screateEditor
                  true
                  seditEditor
                  true
                  sviewEditor
                  true
                  sgridEditor
                  true
                  squeryEditor
                  true
                  sreadOnly
                  false
                  seditable
                  false
                  sdisabled
                  false
                  sshowLabel
                  true
                  slabelAlign
                  right
                  slabelVAlign
                  baseline
                  svalidateAllowBlank
                  true
                  LvalidateOnBlur
                  true
                  LallowDecimals
                  true
                  LallowNegative
                  true
                  sshowInTable
                  false
                  sdisplayRelationLabel
                  false
                  sgridFixed
                  false
                  sgridHidden
                  false
                  sgridHideable
                  true
                  sgridSortable
                  false
                  scolumnLocked
                  false
                  sgridGroupable
                  true
                  sgridMenuDisabled
                  false
                  sgridResizable
                  true
                  sdescriptors
                  xworker.dataObject.db.DbDataObject/@attribute
                  sinheritDescription
                  false
                  sth_createIndex
                  false
                  sth_registMyChilds
                  false
                  sth_mark
                  false
                  sid
                  userGroupId
                  @/@Control/@composite/@sashForm/@userSashForm/@userTable/@DataStore/@dataObjects/@DbDataObject/@userId
                  sname
                  userId
                  slabel
                  用户标识
                  sfieldName
                  userId
                  stype
                  long
                  soptional
                  true
                  skey
                  false
                  sdataField
                  true
                  sviewField
                  true
                  sreadField
                  true
                  screateEditor
                  true
                  seditEditor
                  true
                  sviewEditor
                  true
                  sgridEditor
                  true
                  squeryEditor
                  true
                  sreadOnly
                  false
                  seditable
                  false
                  sdisabled
                  false
                  sshowLabel
                  true
                  slabelAlign
                  right
                  slabelVAlign
                  baseline
                  svalidateAllowBlank
                  true
                  LvalidateOnBlur
                  true
                  LallowDecimals
                  true
                  LallowNegative
                  true
                  sshowInTable
                  false
                  sdisplayRelationLabel
                  false
                  sgridFixed
                  false
                  sgridHidden
                  false
                  sgridHideable
                  true
                  sgridSortable
                  false
                  scolumnLocked
                  false
                  sgridGroupable
                  true
                  sgridMenuDisabled
                  false
                  sgridResizable
                  true
                  sdescriptors
                  xworker.dataObject.db.DbDataObject/@attribute
                  sinheritDescription
                  false
                  sth_createIndex
                  false
                  sth_registMyChilds
                  false
                  sth_mark
                  false
                  sid
                  userId
                  @/@Control/@composite/@sashForm/@userSashForm/@userTable/@DataStore/@dataObjects/@DbDataObject/@userName
                  sname
                  userName
                  slabel
                  用户名
                  sfieldName
                  userName
                  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
                  false
                  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.db.DbDataObject/@attribute
                  sinheritDescription
                  false
                  sth_createIndex
                  false
                  sth_registMyChilds
                  false
                  sth_mark
                  false
                  sid
                  userName
              @/@Control/@composite/@sashForm/@userSashForm/@userTable/@DataStore/@queryConfig
              sname
              queryConfig
              sattributeName
              userGroupId
              sdataName
              userGroupId
              boperator
              1
              sjoin
              and
              smultiple
              false
              smultiValueJoin
              or
              svalue
              -1
              signoreNull
              true
              sdummySql
              false
              sisClause
              false
              salwaysAddClause
              false
              sisClauseTemplate
              false
              saddOneDay
              false
              sdebug
              false
              sdescriptors
              xworker.swt.app.view.swt.data.DataStore/@Condition
              sinheritDescription
              false
              sth_createIndex
              false
              sth_registMyChilds
              false
              sth_mark
              false
              sid
              queryConfig
            @/@Control/@composite/@sashForm/@userSashForm/@userTable/@Listeners
            sname
            Listeners
            sdescriptors
            xworker.swt.widgets.Widget/@Listeners
            sinheritDescription
            false
            sth_createIndex
            false
            sth_registMyChilds
            false
            sth_mark
            false
            sid
            Listeners
              @/@Control/@composite/@sashForm/@userSashForm/@userTable/@Listeners/@userTableSelection
              sname
              userTableSelection
              stype
              Selection
              sdescriptors
              xworker.swt.events.Listeners/@listeners/@Listener
              sinheritDescription
              false
              sth_createIndex
              false
              sth_registMyChilds
              false
              sth_mark
              false
              sid
              userTableSelection
                @/@Control/@composite/@sashForm/@userSashForm/@userTable/@Listeners/@userTableSelection/@GroovyAction
                sname
                userTableSelection
                sisSynchronized
                false
                sthrowException
                true
                suseOtherAction
                false
                svarScope
                Local
                sdisableGlobalContext
                false
                Scode
#$@text#$@
browser.setText("");

def userId = event.item.getData().get("userId");

def form = dataObjectContext.get("queryForm");
def values = form.doAction("getValues", dataObjectContext);
values.userId = userId;

//设置查询条件
noteEditor.doAction("setQueryFormValues", actionContext, ["values": values]);

//执行查询
noteEditor.doAction("doQuery", actionContext);

//设置初始化时的变量
dataObjectContext.getScope(0).put("newInitValues", values);

dailySashForm.setEnabled(true);
#$@text#$@
                sinterpretationType
                Action
                screateLocalVarScope
                false
                ssaveReturn
                false
                sswitchResult
                false
                sdebugLog
                false
                sdescriptors
                xworker.lang.actions.Actions/@GroovyAction
                sinheritDescription
                false
                sth_createIndex
                false
                sth_registMyChilds
                false
                sth_mark
                false
                sid
                GroovyAction
        @/@Control/@composite/@sashForm/@dailySashForm
        sname
        dailySashForm
        sstyle
        VERTICAL
        sSMOOTH
        false
        sweights
        60,40
        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
        false
        sredraw
        true
        spack
        false
        svisible
        true
        sdescriptors
        xworker.swt.Widgets/@SashForm
        sinheritDescription
        false
        sth_createIndex
        false
        sth_registMyChilds
        false
        sth_mark
        false
        sid
        dailySashForm
          @/@Control/@composite/@sashForm/@dailySashForm/@DataObjectEditCompoiste
          sname
          noteEditor
          sdataObject
          xworker.app.user.dataobjects.UserDailyNote
          squeryButton
          true
          snewButton
          true
          seditButton
          true
          seditBatchButton
          false
          sdeleteButton
          true
          sselectAllButton
          false
          sselectRerverseButton
          false
          spagingToolbar
          true
          sactionContext
          dataObjectContext
          snewDataObjectInitValues
          newInitValues
          stableCheck
          false
          sdebug
          false
          sdescriptors
          xworker.swt.app.view.swt.Items/@DataObjectEditCompoiste
          sinheritDescription
          false
          sth_createIndex
          false
          sth_registMyChilds
          false
          sth_mark
          false
          sid
          DataObjectEditCompoiste
            @/@Control/@composite/@sashForm/@dailySashForm/@DataObjectEditCompoiste/@actions
            sname
            actions
            sdescriptors
            xworker.swt.app.view.swt.widgets.DataObjectEditCompoiste/@actions1
            sinheritDescription
            false
            sth_createIndex
            false
            sth_registMyChilds
            false
            sth_mark
            false
            sid
            actions
              @/@Control/@composite/@sashForm/@dailySashForm/@DataObjectEditCompoiste/@actions/@tableSelection
              sname
              tableSelection
              sisSynchronized
              false
              sthrowException
              true
              suseOtherAction
              false
              svarScope
              Local
              sdisableGlobalContext
              false
              Scode
#$@text#$@
def item = dataObjectContext.dataTable.getSelection()[0];
def data = item.getData();
if(data.content != null){
    browser.setText(data.content);
}
#$@text#$@
              sinterpretationType
              Action
              screateLocalVarScope
              false
              ssaveReturn
              false
              sdebugLog
              false
              sdescriptors
              xworker.lang.actions.Actions/@GroovyAction
              sinheritDescription
              false
              sth_createIndex
              false
              sth_registMyChilds
              false
              sth_mark
              false
              sid
              tableSelection
          @/@Control/@composite/@sashForm/@dailySashForm/@tabFolder
          sname
          tabFolder
          sstyle
          TOP
          sBORDER
          true
          sFLAT
          false
          sCLOSE
          false
          sSINGLE
          false
          sMRUVisible
          false
          ssimple
          true
          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/@CTabFolder
          sinheritDescription
          false
          sth_createIndex
          false
          sth_registMyChilds
          false
          sth_mark
          false
          sid
          tabFolder
            @/@Control/@composite/@sashForm/@dailySashForm/@tabFolder/@CTabItem
            sname
            noteBrowserItem
            stext
            日记内容
            sCLOSE
            false
            sdescriptors
            xworker.swt.custom.CTabFolder/@CTabItem
            sinheritDescription
            false
            sth_createIndex
            false
            sth_registMyChilds
            false
            sth_mark
            false
            sid
            CTabItem
              @/@Control/@composite/@sashForm/@dailySashForm/@tabFolder/@CTabItem/@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
                @/@Control/@composite/@sashForm/@dailySashForm/@tabFolder/@CTabItem/@browser/@UtilBrowser
                sname
                UtilBrowser
                sdescriptors
                xworker.swt.browser.Browser/@UtilBrowser
                sinheritDescription
                false
                sth_createIndex
                false
                sth_registMyChilds
                false
                sth_mark
                false
                sid
                UtilBrowser
            @/@Control/@composite/@sashForm/@dailySashForm/@tabFolder/@textFormatorItem
            sname
            textFormatorItem
            stext
            文本格式化
            sCLOSE
            false
            sdescriptors
            xworker.swt.custom.CTabFolder/@CTabItem
            sinheritDescription
            false
            sth_createIndex
            false
            sth_registMyChilds
            false
            sth_mark
            false
            sid
            textFormatorItem
              @/@Control/@composite/@sashForm/@dailySashForm/@tabFolder/@textFormatorItem/@formatComposite
              sname
              formatComposite
              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_mark
              false
              sid
              formatComposite
                @/@Control/@composite/@sashForm/@dailySashForm/@tabFolder/@textFormatorItem/@formatComposite/@formatorGridLayout
                sname
                formatorGridLayout
                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
                formatorGridLayout
                @/@Control/@composite/@sashForm/@dailySashForm/@tabFolder/@textFormatorItem/@formatComposite/@formatorText
                sname
                formatorText
                sstyle
                MULTI
                sFULL_SELECTION
                false
                sREAD_ONLY
                false
                sWRAP
                false
                sH_SCROLL
                false
                sV_SCROLL
                false
                sBORDER
                false
                salign
                LEFT
                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/@StyledText
                sinheritDescription
                false
                sth_createIndex
                false
                sth_registMyChilds
                false
                sth_mark
                false
                sid
                formatorText
                  @/@Control/@composite/@sashForm/@dailySashForm/@tabFolder/@textFormatorItem/@formatComposite/@formatorText/@formatorTextGridData
                  sname
                  formatorTextGridData
                  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
                  formatorTextGridData
                @/@Control/@composite/@sashForm/@dailySashForm/@tabFolder/@textFormatorItem/@formatComposite/@7473
                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
                7473
                  @/@Control/@composite/@sashForm/@dailySashForm/@tabFolder/@textFormatorItem/@formatComposite/@7473/@7474
                  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
                  7474
                  @/@Control/@composite/@sashForm/@dailySashForm/@tabFolder/@textFormatorItem/@formatComposite/@7473/@7475
                  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
                  7475
                  @/@Control/@composite/@sashForm/@dailySashForm/@tabFolder/@textFormatorItem/@formatComposite/@7473/@formatTextButton
                  sname
                  formatTextButton
                  stext
                  格式化文本
                  stype
                  SWT.PUSH
                  sflat
                  false
                  sborder
                  false
                  sselected
                  false
                  scapture
                  false
                  senabled
                  true
                  sredraw
                  true
                  svisible
                  true
                  sdescriptors
                  xworker.swt.app.view.swt.widgets.DataObjectEditCompoiste/@Buttons/@Button
                  sinheritDescription
                  false
                  sth_createIndex
                  false
                  sth_registMyChilds
                  false
                  sth_mark
                  false
                  sid
                  formatTextButton
                    @/@Control/@composite/@sashForm/@dailySashForm/@tabFolder/@textFormatorItem/@formatComposite/@7473/@formatTextButton/@RowData
                    sname
                    RowData
                    sexclude
                    false
                    swidth
                    120
                    sheight
                    -1
                    sdescriptors
                    xworker.swt.layout.LayoutDatas/@RowData
                    sinheritDescription
                    false
                    sth_createIndex
                    false
                    sth_registMyChilds
                    false
                    sth_mark
                    false
                    sid
                    RowData
                    @/@Control/@composite/@sashForm/@dailySashForm/@tabFolder/@textFormatorItem/@formatComposite/@7473/@formatTextButton/@Listeners
                    sname
                    Listeners
                    sdescriptors
                    xworker.swt.widgets.Widget/@Listeners
                    sinheritDescription
                    false
                    sth_createIndex
                    false
                    sth_registMyChilds
                    false
                    sth_mark
                    false
                    sid
                    Listeners
                      @/@Control/@composite/@sashForm/@dailySashForm/@tabFolder/@textFormatorItem/@formatComposite/@7473/@formatTextButton/@Listeners/@formatTextButton
                      sname
                      formatTextButton
                      stype
                      Selection
                      sdescriptors
                      xworker.swt.events.Listeners/@listeners/@Listener
                      sinheritDescription
                      false
                      sth_createIndex
                      false
                      sth_registMyChilds
                      false
                      sth_mark
                      false
                      sid
                      formatTextButton
                        @/@Control/@composite/@sashForm/@dailySashForm/@tabFolder/@textFormatorItem/@formatComposite/@7473/@formatTextButton/@Listeners/@formatTextButton/@GroovyAction
                        sname
                        GroovyAction
                        sisSynchronized
                        false
                        sthrowException
                        true
                        suseOtherAction
                        false
                        svarScope
                        Local
                        sdisableGlobalContext
                        false
                        Scode
#$@text#$@
def text = formatorText.getText();

def t = null;
def index = 1;
for(s in text.split("[\n]")){
    s = index + "." + s.trim() + "。";
    if(t == null){
        t = s;
    }else{
        t = t + "\n" + s;
    }
    index++;
}

formatorText.setText(t);
#$@text#$@
                        sinterpretationType
                        Action
                        screateLocalVarScope
                        false
                        ssaveReturn
                        false
                        sdebugLog
                        false
                        sdescriptors
                        xworker.lang.actions.Actions/@GroovyAction
                        sinheritDescription
                        false
                        sth_createIndex
                        false
                        sth_registMyChilds
                        false
                        sth_mark
                        false
                        sid
                        GroovyAction
