^1640696314710
@
sname
InitEditor
slabel
InitEditor
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/@DataObjectEditCompoiste
    sname
    DataObjectEditCompoiste
    sdataObject
    xworker.app.init.dataobjects.InitLog
    squeryButton
    true
    snewButton
    false
    seditButton
    false
    seditBatchButton
    false
    sdeleteButton
    true
    sselectAllButton
    false
    sselectRerverseButton
    false
    spagingToolbar
    true
    sactionContext
    dataObjectContext
    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/@DataObjectEditCompoiste/@Buttons
      sname
      Buttons
      sdescriptors
      xworker.swt.app.view.swt.widgets.DataObjectEditCompoiste/@Buttons
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_mark
      false
      sid
      Buttons
        @/@Control/@DataObjectEditCompoiste/@Buttons/@openThingButton
        sname
        openThingButton
        stext
        打开事物
        stype
        SWT.PUSH
        sflat
        false
        sborder
        false
        sselected
        false
        scapture
        false
        senabled
        false
        sredraw
        true
        svisible
        true
        sdescriptors
        xworker.swt.Widgets/@Button
        sinheritDescription
        false
        sth_createIndex
        false
        sth_registMyChilds
        false
        sth_mark
        false
        sid
        openThingButton
          @/@Control/@DataObjectEditCompoiste/@Buttons/@openThingButton/@Listeners
          sname
          Listeners
          sdescriptors
          xworker.swt.widgets.Widget/@Listeners
          sinheritDescription
          false
          sth_createIndex
          false
          sth_registMyChilds
          false
          sth_mark
          false
          sid
          Listeners
            @/@Control/@DataObjectEditCompoiste/@Buttons/@openThingButton/@Listeners/@openThingButtonSelection
            sname
            openThingButtonSelection
            stype
            Selection
            sdescriptors
            xworker.swt.events.Listeners/@listeners/@Listener
            sinheritDescription
            false
            sth_createIndex
            false
            sth_registMyChilds
            false
            sth_mark
            false
            sid
            openThingButtonSelection
              @/@Control/@DataObjectEditCompoiste/@Buttons/@openThingButton/@Listeners/@openThingButtonSelection/@GroovyAction
              sname
              GroovyAction
              sisSynchronized
              false
              sthrowException
              true
              suseOtherAction
              false
              svarScope
              Local
              sdisableGlobalContext
              false
              Scode
#$@text#$@
import xworker.lang.util.XWorkerUtils;

if(dataObjectContext.dataTable.getSelection().length > 0){
    def data = dataObjectContext.dataTable.getSelection()[0].getData();
    def path = data.getString("initThingPath");
    
    XWorkerUtils.ideOpenThing(world.getThing(path));
}
#$@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
          @/@Control/@DataObjectEditCompoiste/@Buttons/@openThingButton/@RowData
          sname
          RowData
          sexclude
          false
          swidth
          100
          sheight
          -1
          sdescriptors
          xworker.swt.layout.LayoutDatas/@RowData
          sinheritDescription
          false
          sth_createIndex
          false
          sth_registMyChilds
          false
          sth_mark
          false
          sid
          RowData
        @/@Control/@DataObjectEditCompoiste/@Buttons/@doInitButton
        sname
        doInitButton
        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
        doInitButton
          @/@Control/@DataObjectEditCompoiste/@Buttons/@doInitButton/@Listeners
          sname
          Listeners
          sdescriptors
          xworker.swt.widgets.Widget/@Listeners
          sinheritDescription
          false
          sth_createIndex
          false
          sth_registMyChilds
          false
          sth_mark
          false
          sid
          Listeners
            @/@Control/@DataObjectEditCompoiste/@Buttons/@doInitButton/@Listeners/@doInitButtonSelection
            sname
            doInitButtonSelection
            stype
            Selection
            sdescriptors
            xworker.swt.events.Listeners/@listeners/@Listener
            sinheritDescription
            false
            sth_createIndex
            false
            sth_registMyChilds
            false
            sth_mark
            false
            sid
            doInitButtonSelection
              @/@Control/@DataObjectEditCompoiste/@Buttons/@doInitButton/@Listeners/@doInitButtonSelection/@StartThead
              sname
              StartThead
              sdaemon
              true
              sinterpretationType
              Self
              sattributeTemplate
              false
              schildsAttributeTemplate
              false
              svarScope
              Local
              sisSynchronized
              false
              sthrowException
              true
              suseOtherAction
              false
              screateLocalVarScope
              false
              ssaveReturn
              false
              sdisableGlobalContext
              false
              sdescriptors
              xworker.core.java.lang.ThreadActions/@StartThead
              sinheritDescription
              false
              sth_createIndex
              false
              sth_registMyChilds
              false
              sth_mark
              false
              sid
              StartThead
                @/@Control/@DataObjectEditCompoiste/@Buttons/@doInitButton/@Listeners/@doInitButtonSelection/@StartThead/@actions
                sname
                actions
                sdescriptors
                xworker.core.java.lang.ThreadActions/@StartThead/@actions1
                sinheritDescription
                false
                sth_createIndex
                false
                sth_registMyChilds
                false
                sth_mark
                false
                sid
                actions
                  @/@Control/@DataObjectEditCompoiste/@Buttons/@doInitButton/@Listeners/@doInitButtonSelection/@StartThead/@actions/@doAction
                  sname
                  doAction
                  sisSynchronized
                  false
                  sthrowException
                  true
                  suseOtherAction
                  false
                  svarScope
                  Local
                  sdisableGlobalContext
                  false
                  Scode
#$@text#$@
import xworker.app.init.InitApp;
import org.xmeta.Thing;
import xworker.lang.util.XWorkerUtils;
import org.eclipse.swt.SWT;

if(InitApp.isIniting()){
    XWorkerUtils.ideShowMessageBox("应用初始化", "正在初始化中，请稍后！", SWT.ICON_WARNING | SWT.OK);
    return;
}else{
    XWorkerUtils.ideShowMessageBox("应用初始化", "已开始初始化，请稍后！", SWT.ICON_INFORMATION | SWT.OK);
    InitApp.run();
    XWorkerUtils.ideShowMessageBox("应用初始化", "应用初始化完毕！", SWT.ICON_INFORMATION | SWT.OK);
    return;
}
#$@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
                  doAction
          @/@Control/@DataObjectEditCompoiste/@Buttons/@doInitButton/@RowData
          sname
          RowData
          sexclude
          false
          swidth
          100
          sheight
          -1
          sdescriptors
          xworker.swt.layout.LayoutDatas/@RowData
          sinheritDescription
          false
          sth_createIndex
          false
          sth_registMyChilds
          false
          sth_mark
          false
          sid
          RowData
      @/@Control/@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/@DataObjectEditCompoiste/@actions/@tableSelection1
        sname
        tableSelection
        sisSynchronized
        false
        sthrowException
        true
        suseOtherAction
        false
        svarScope
        Local
        sdisableGlobalContext
        false
        scode
        openThingButton.setEnabled(true);
        sinterpretationType
        Action
        screateLocalVarScope
        false
        ssaveReturn
        false
        sdescriptors
        xworker.lang.actions.Actions/@GroovyAction
        sinheritDescription
        false
        sth_createIndex
        false
        sth_registMyChilds
        false
        sth_mark
        false
        sid
        tableSelection1
        @/@Control/@DataObjectEditCompoiste/@actions/@tableDeleted
        sname
        tableDeleted
        smethod
        disable
        scontrolList
        openThingButton
        sinterpretationType
        Self
        sattributeTemplate
        false
        schildsAttributeTemplate
        false
        svarScope
        Local
        sisSynchronized
        false
        sthrowException
        true
        suseOtherAction
        false
        screateLocalVarScope
        false
        ssaveReturn
        false
        sdisableGlobalContext
        false
        sdescriptors
        xworker.swt.actions.ControlActions/@Enabled
        sinheritDescription
        false
        sth_createIndex
        false
        sth_registMyChilds
        false
        sth_mark
        false
        sid
        tableDeleted
        @/@Control/@DataObjectEditCompoiste/@actions/@onStoreLoaded
        sname
        onStoreLoaded
        smethod
        disable
        scontrolList
        openThingButton
        sinterpretationType
        Self
        sattributeTemplate
        false
        schildsAttributeTemplate
        false
        svarScope
        Local
        sisSynchronized
        false
        sthrowException
        true
        suseOtherAction
        false
        screateLocalVarScope
        false
        ssaveReturn
        false
        sdisableGlobalContext
        false
        sdescriptors
        xworker.swt.actions.ControlActions/@Enabled
        sinheritDescription
        false
        sth_createIndex
        false
        sth_registMyChilds
        false
        sth_mark
        false
        sid
        onStoreLoaded
