^1525421851173
@
sname
TextFileEditor
slabel
TextFileEditor
sdescriptors
xworker.lang.MetaDescriptor3
sextends
xworker.swt.layout.LayoutDatas
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
<p>文本文件编辑器，保存到变量中的是ActionContainer，返回值是Composite。</p>

<p><strong>ActionContainer的方法：</strong></p>

<ul>
	<li><strong>setFile</strong><br />
	设置一个文本文件，参数 file（File）。<br />
	&nbsp;</li>
	<li><strong>saveFile</strong><br />
	保存文件。</li>
</ul>

<p><strong>事件：</strong></p>

<p>&nbsp;&nbsp;&nbsp; 事物可以实现以下方法监听相应事件。</p>

<ul>
	<li><strong>modified</strong><br />
	文本已修改，参数：text (StyledText）,file（File）</li>
</ul>

<p><span style="color:rgb(255, 0, 0)"><strong>注意</strong></span></p>

<p>&nbsp;&nbsp;&nbsp; 使用了Colorer作为代码着色，只能用在SWT的主线程里。</p>
#$@text#$@
snotXmlAttribute
false
sth_createIndex
false
sth_registMyChilds
false
sth_mark
false
  @/@actions
  sname
  actions
  sdescriptors
  xworker.lang.MetaDescriptor3/@actions
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  actions
    @/@actions/@create
    sname
    create
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    suseInnerJava
    false
    souterClassName
    xworker.swt.xwidgets.TextFileEditor
    smethodName
    create
    sdisableGlobalContext
    false
    sattributeTemplate
    false
    sinterpretationType
    Action
    svarScope
    Global
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    create
    @/@actions/@createStyledText
    sname
    createStyledText
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    suseInnerJava
    false
    souterClassName
    xworker.swt.xwidgets.TextFileEditorStyledText
    smethodName
    create
    sdisableGlobalContext
    false
    sattributeTemplate
    false
    sinterpretationType
    Action
    svarScope
    Global
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    createStyledText
  @/@name
  sname
  name
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  name
  @/@label
  sname
  label
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  label
  @/@file
  sname
  file
  sinputtype
  file
  sshowLabel
  true
  ssize
  60
  sreadOnly
  false
  sinheritDescription
  false
  sdescription
  <p>默认打开的文件，支持UtilData。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  file
  @/@description
  sname
  description
  sinputtype
  html
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  description
  @/@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
  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
    sid
    mainCompositeGridLayout
    @/@mainComposite/@codeEditor1
    sname
    codeEditor
    sstyle
    MULTI
    sFULL_SELECTION
    false
    sREAD_ONLY
    false
    sWRAP
    false
    sH_SCROLL
    true
    sV_SCROLL
    true
    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
    codeEditor1
      @/@mainComposite/@codeEditor1/@font
      sname
      font
      slabel
      font
      sdescriptors
      xworker.swt.Commons/@font
      sid
      font
        @/@mainComposite/@codeEditor1/@font/@editorFont
        sname
        editorFont
        slabel
        editorFont
        sfontData
        "Courier New|10|0|#000000"
        sdescriptors
        xworker.swt.Commons/@font/@Font
        sid
        editorFont
      @/@mainComposite/@codeEditor1/@listeners
      sname
      listeners
      sdescriptors
      xworker.swt.events.Listeners/@listeners
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_mark
      false
      sid
      listeners
        @/@mainComposite/@codeEditor1/@listeners/@codeEditorModify
        sname
        codeEditorModify
        stype
        Modify
        sdescriptors
        xworker.swt.events.Listeners/@listeners/@Listener
        sinheritDescription
        false
        sth_createIndex
        false
        sth_registMyChilds
        false
        sth_mark
        false
        sid
        codeEditorModify
          @/@mainComposite/@codeEditor1/@listeners/@codeEditorModify/@create
          sname
          codeModifyed
          sisSynchronized
          false
          sthrowException
          true
          suseOtherAction
          false
          suseOuterJava
          true
          suseInnerJava
          false
          souterClassName
          xworker.swt.xwidgets.TextFileEditorStyledText
          smethodName
          codeModifyed
          sdisableGlobalContext
          false
          sattributeTemplate
          false
          sinterpretationType
          Action
          svarScope
          Global
          screateLocalVarScope
          false
          ssaveReturn
          false
          sdebugLog
          false
          sdescriptors
          xworker.lang.actions.Actions/@JavaAction
          sinheritDescription
          false
          sth_createIndex
          false
          sth_registMyChilds
          false
          sth_mark
          false
          sid
          create
      @/@mainComposite/@codeEditor1/@colorer
      sname
      colorer
      sdescriptors
      xworker.swt.custom.StyledText/@Colorer
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_mark
      false
      sid
      colorer
      @/@mainComposite/@codeEditor1/@codeEditorGridDAta
      sname
      codeEditorGridDAta
      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
      codeEditorGridDAta
    @/@mainComposite/@actions
    sname
    actions
    sdescriptors
    xworker.swt.Widgets/@actions
    sid
    actions
      @/@mainComposite/@actions/@create
      sname
      setFile
      sisSynchronized
      false
      sthrowException
      true
      suseOtherAction
      false
      suseOuterJava
      true
      suseInnerJava
      false
      souterClassName
      xworker.swt.xwidgets.TextFileEditorStyledText
      smethodName
      setFile
      sdisableGlobalContext
      false
      sattributeTemplate
      false
      sinterpretationType
      Action
      svarScope
      Global
      screateLocalVarScope
      false
      ssaveReturn
      false
      sdebugLog
      false
      sdescriptors
      xworker.lang.actions.Actions/@JavaAction
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_mark
      false
      sid
      create
      @/@mainComposite/@actions/@create1
      sname
      saveFile
      sisSynchronized
      false
      sthrowException
      true
      suseOtherAction
      false
      suseOuterJava
      true
      suseInnerJava
      false
      souterClassName
      xworker.swt.xwidgets.TextFileEditorStyledText
      smethodName
      saveFile
      sdisableGlobalContext
      false
      sattributeTemplate
      false
      sinterpretationType
      Action
      svarScope
      Global
      screateLocalVarScope
      false
      ssaveReturn
      false
      sdebugLog
      false
      sdescriptors
      xworker.lang.actions.Actions/@JavaAction
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_mark
      false
      sid
      create1
  @/@mainComposite1
  sname
  mainCompositeText
  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
  mainComposite1
    @/@mainComposite1/@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
    sid
    mainCompositeGridLayout
    @/@mainComposite1/@codeEditor
    sname
    codeEditor
    sstyle
    MULTI
    sH_SCROLL
    true
    sV_SCROLL
    true
    sWRAP
    false
    sREAD_ONLY
    false
    sPASSWORD
    false
    sSEARCH
    false
    sCANCEL
    false
    sBORDER
    false
    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
    codeEditor
      @/@mainComposite1/@codeEditor/@font
      sname
      font
      slabel
      font
      sdescriptors
      xworker.swt.Commons/@font
      sid
      font
        @/@mainComposite1/@codeEditor/@font/@editorFont
        sname
        editorFont
        slabel
        editorFont
        sfontData
        "Courier New|10|0|#000000"
        sdescriptors
        xworker.swt.Commons/@font/@Font
        sid
        editorFont
      @/@mainComposite1/@codeEditor/@listeners
      sname
      listeners
      sdescriptors
      xworker.swt.events.Listeners/@listeners
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_mark
      false
      sid
      listeners
        @/@mainComposite1/@codeEditor/@listeners/@codeEditorModify
        sname
        codeEditorModify
        stype
        Modify
        sdescriptors
        xworker.swt.events.Listeners/@listeners/@Listener
        sinheritDescription
        false
        sth_createIndex
        false
        sth_registMyChilds
        false
        sth_mark
        false
        sid
        codeEditorModify
          @/@mainComposite1/@codeEditor/@listeners/@codeEditorModify/@create
          sname
          codeModifyed
          sisSynchronized
          false
          sthrowException
          true
          suseOtherAction
          false
          suseOuterJava
          true
          suseInnerJava
          false
          souterClassName
          xworker.swt.xwidgets.TextFileEditor
          smethodName
          codeModifyed
          sdisableGlobalContext
          false
          sattributeTemplate
          false
          sinterpretationType
          Action
          svarScope
          Global
          screateLocalVarScope
          false
          ssaveReturn
          false
          sdebugLog
          false
          sdescriptors
          xworker.lang.actions.Actions/@JavaAction
          sinheritDescription
          false
          sth_createIndex
          false
          sth_registMyChilds
          false
          sth_mark
          false
          sid
          create
      @/@mainComposite1/@codeEditor/@codeEditorGridDAta
      sname
      codeEditorGridDAta
      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
      codeEditorGridDAta
    @/@mainComposite1/@actions
    sname
    actions
    sdescriptors
    xworker.swt.Widgets/@actions
    sid
    actions
      @/@mainComposite1/@actions/@create
      sname
      setFile
      sisSynchronized
      false
      sthrowException
      true
      suseOtherAction
      false
      suseOuterJava
      true
      suseInnerJava
      false
      souterClassName
      xworker.swt.xwidgets.TextFileEditor
      smethodName
      setFile
      sdisableGlobalContext
      false
      sattributeTemplate
      false
      sinterpretationType
      Action
      svarScope
      Global
      screateLocalVarScope
      false
      ssaveReturn
      false
      sdebugLog
      false
      sdescriptors
      xworker.lang.actions.Actions/@JavaAction
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_mark
      false
      sid
      create
      @/@mainComposite1/@actions/@create1
      sname
      saveFile
      sisSynchronized
      false
      sthrowException
      true
      suseOtherAction
      false
      suseOuterJava
      true
      suseInnerJava
      false
      souterClassName
      xworker.swt.xwidgets.TextFileEditor
      smethodName
      saveFile
      sdisableGlobalContext
      false
      sattributeTemplate
      false
      sinterpretationType
      Action
      svarScope
      Global
      screateLocalVarScope
      false
      ssaveReturn
      false
      sdebugLog
      false
      sdescriptors
      xworker.lang.actions.Actions/@JavaAction
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_mark
      false
      sid
      create1
  @/@actions1
  sname
  actions
  slabel
  Actions
  sdescriptors
  xworker.lang.MetaDescriptor2/@thing
  sextends
  xworker.lang.actions.Actions
  smany
  true
  seditCols
  2
  Sdescription
#$@text#$@
<p>动作集合，通过子节点可以添加各种动作，动作通常是一个可执行的程序。</p>
<p>事物的第一个动作集合的子事物才可以作为事物的行为，第二个及其他动作集合就不能作为事物的行为使用了，事物的行为默认找第一个动作集合。</p>
<p>事物的run方法一般是这个事物转化为动作之后执行的方法。</p>
#$@text#$@
  szh_label
  动作
  sth_createIndex
  false
  sid
  actions1
    @/@actions1/@name
    sname
    name
    sdescriptors
    xworker.lang.MetaDescriptor2/@attribute
    sid
    name
