^1515757567081
@
sname
shell
slabel
ShellWithParams
Sdescription
#$@text#$@
<p><strong>什么是ShellWithParams?</strong></p>

<p>ShellWithParams一般是含有参数的功能窗口，即设置一个属性是&lt;shellPath&gt;?&lt;params&gt;的字串格式，其中shellPath是功能窗口的路径，&lt;params&gt;是参数，参数可以写成xxx=yyy&amp;xx1=yy1的格式，参数有shell自行解释执行。</p>

<p><strong>作用</strong></p>

<p>各个功能shell可以注册到此事物下。</p>

<p><strong>SWT菜单</strong></p>

<p>SWT菜单中shell使用的就是ShellWithParams，其中解释窗口的执行时会把&lt;params&gt;转化成Map，然后以参数params的形式传入，那么shell可以使用params获取参数。</p>

<p>&nbsp;</p>
#$@text#$@
sdescriptors
xworker.swt.xworker.attributeEditor.openWins.ShellWithParamsSet
sth_createIndex
false
sth_mark
false
sid
ShellWithParams
  @/@help
  sname
  help
  slabel
  设置窗口
  sgroup
  Common
  Sdescription
#$@text#$@
<p><strong>功能窗口</strong></p>

<p>是一个shell加上参数列表，生成的字符串是&lt;shellPath&gt;?&lt;param1&gt;=&lt;value1&gt;&amp;&lt;param2&gt;=&lt;value2&gt;&amp;....的格式。</p>

<p><strong>如何设置</strong></p>

<p>可以从左面的树中选择预先配置的功能窗口，如果没有且窗口不需要参数，那么可以在本表单中设置窗口的地址。</p>

<p><strong>如何添加新的窗口配置到左面的树中</strong></p>

<ul>
	<li><strong>创建一个配置设置</strong><br />
	使用描述者<a href="javascript:invoke('thing:xworker.swt.xworker.attributeEditor.openWins.ShellWithParamsSet')">xworker.swt.xworker.attributeEditor.openWins.ShellWithParamsSet</a>创建。<br />
	&nbsp;</li>
	<li><strong>注册配置</strong><br />
	把新的配置注册到<a href="javascript:invoke('thing:xworker.swt.xworker.attributeEditor.openWins.ShellWithParams')">xworker.swt.xworker.attributeEditor.openWins.ShellWithParams</a>下，注册类型是子事物。</li>
</ul>
#$@text#$@
  sdescriptors
  xworker.swt.xworker.attributeEditor.openWins.ShellWithParamsSet/@thing
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_sortWeight
  -1000
  sth_mark
  false
  sid
  help
    @/@help/@ParamsThing
    sname
    ParamsThing
    sdescriptors
    xworker.swt.xworker.attributeEditor.openWins.ShellWithParamsSet/@Params
    smany
    true
    seditCols
    1
    sinitialization
    false
    smodifier
    public
    sinheritDescription
    false
    sth_createIndex
    false
    sth_mark
    false
    sid
    ParamsThing
      @/@help/@ParamsThing/@shellPath
      sname
      shellPath
      sinputtype
      dataSelector
      sshowLabel
      true
      ssize
      60
      sreadOnly
      false
      sinheritDescription
      false
      svalidateAllowBlank
      true
      LvalidateOnBlur
      true
      LallowDecimals
      true
      LallowNegative
      true
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sth_createIndex
      false
      sth_mark
      false
      sid
      shellPath
  @/@ThingCodeViewer
  sname
  ThingCodeViewer
  slabel
  事物生成代码查看器
  sgroup
  Common
  sshellPath
  xworker.swt.xworker.dialogs.thingMenu.ThingCodeViewer
  Sdescription
#$@text#$@
<h2>事物生成代码查看器</h2>

<p>&nbsp;&nbsp;&nbsp; 设置当前事物要生成代码的动作，把动作执行后的结果用代码着色器显示。</p>

<h2>&nbsp;</h2>
#$@text#$@
  sen_label
  Thing Code Viewer
  sdescriptors
  xworker.swt.xworker.attributeEditor.openWins.ShellWithParamsSet/@thing
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  ThingCodeViewer
    @/@ThingCodeViewer/@ParamsThing
    sname
    ParamsThing
    sdescriptors
    xworker.swt.xworker.attributeEditor.openWins.ShellWithParamsSet/@Params
    smany
    true
    seditCols
    2
    sinitialization
    false
    smodifier
    public
    sinheritDescription
    false
    sth_createIndex
    false
    sth_mark
    false
    sid
    ParamsThing
      @/@ThingCodeViewer/@ParamsThing/@actionName
      sname
      actionName
      sshowLabel
      true
      sreadOnly
      false
      sinheritDescription
      false
      svalidateAllowBlank
      true
      LvalidateOnBlur
      true
      LallowDecimals
      true
      LallowNegative
      true
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sth_createIndex
      false
      sth_mark
      false
      sid
      actionName
      @/@ThingCodeViewer/@ParamsThing/@codeType
      sname
      codeType
      sshowLabel
      true
      sreadOnly
      false
      sinheritDescription
      false
      svalidateAllowBlank
      true
      LvalidateOnBlur
      true
      LallowDecimals
      true
      LallowNegative
      true
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sth_createIndex
      false
      sth_mark
      false
      sid
      codeType
