^1694501893561
@
sname
OpenWindowSet
slabel
OpenWindowSet
sdescriptors
xworker.lang.MetaDescriptor3
sextends
xworker.dataObject.DataObjects
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
scolor
BLUE
Sdescription
#$@text#$@
<p><strong>属性弹出窗口</strong></p>

<p>&nbsp;&nbsp;&nbsp; 设置一个属性编辑弹出窗口的相关信息。</p>

<p><strong>设置方法</strong></p>

<ul>
	<li><strong>窗口的参数表单</strong><br />
	通过子节点设置一个数据对象，第一个子节点生效，用于生成参数表单。参数表单是传给弹出窗口的参数数据。参数表单是在设置属性的弹出窗口时设置的。<br />
	&nbsp;</li>
	<li><strong>弹出窗口</strong><br />
	需要设置一个弹出窗口，通过winPath属性设置。</li>
</ul>

<p><strong>窗口获取参数的方法</strong></p>

<p>&nbsp;&nbsp;&nbsp; 参数是Map&lt;String, String&gt;格式，对应的变量是params。</p>

<p><strong>窗口设置返回值的方法</strong></p>

<p>&nbsp;&nbsp;&nbsp; 通过text变量来设置，比如：text.setText(&quot;value&quot;)。</p>

<p><strong>窗口设置编辑器多个属性值的方法</strong></p>

<pre class="brush:java;">
    //参考下面的示例
    def values = [:];
    values.put(typeName, registType);
    parentModel.doAction(&quot;setPartialValues&quot;, parentContext, &quot;values&quot;, values);</pre>

<p><strong>窗口可用变量</strong></p>

<p>&nbsp;&nbsp;&nbsp; 在编写窗口时应避免使用下面的变量名，因为这些变量名是打开窗口时预先设置的。</p>

<ul>
	<li><strong>parent: org.eclipse.swt.widgets.Shell</strong></li>
	<li><strong>value: String</strong><br />
	当前属性编辑器中的值。</li>
	<li><strong>text: rog.eclipse.swt.widget.Text</strong><br />
	属性编辑器的Text控件。</li>
	<li><strong>param: String</strong><br />
	参数原始值。</li>
	<li><strong>params: Map&lt;String, String&gt;</strong><br />
	参数转化为Map后的值。</li>
	<li><strong>parentContext: ActionContext</strong><br />
	属性编辑表单的上下文。</li>
	<li><strong>textContext: ActionContext</strong><br />
	属性编辑器Text所在的上下文。</li>
	<li><strong>parentModel: Thing</strong><br />
	属性编辑器的模型。</li>
	<li><strong>utilBrowser</strong></li>
	<li><strong>explorerActions</strong></li>
	<li><strong>explorerContext </strong></li>
</ul>

<p><strong>注册窗口</strong></p>

<p>&nbsp;&nbsp;&nbsp; 把本事物注册到xworker.swt.xworker.attributeEditor.OpenWindowSets的子节点下，那么在事物的编辑弹出窗口的扩展属性中则可以看到本事物的设置。</p>
#$@text#$@
snotXmlAttribute
false
sjson_isArray
false
sjson_attribute
false
sth_createIndex
false
  @/@name
  sname
  name
  sreadOnly
  false
  sinheritDescription
  false
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sid
  name
  @/@label
  sname
  label
  sreadOnly
  false
  sinheritDescription
  false
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sid
  label
  @/@winPath
  sname
  winPath
  sinputtype
  dataSelector
  ssize
  60
  scolspan
  2
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  sdescription
  <p>弹出窗口的路径。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sid
  winPath
  @/@group
  sname
  group
  ssize
  60
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sid
  group
  @/@separateChar
  sname
  separateChar
  slabel
  分隔符
  sreadOnly
  false
  sdefault
  ,
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sid
  separateChar
  @/@encoding
  sname
  encoding
  slabel
  编码
  sreadOnly
  false
  sdefault
  utf-8
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sid
  encoding
  @/@description
  sname
  description
  sinputtype
  html
  scolspan
  2
  sreadOnly
  false
  sinheritDescription
  false
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sid
  description
  @/@Shell
  sname
  Shell
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.swt.widgets.Shell
  smany
  true
  seditCols
  2
  sinitialization
  false
  smodifier
  public
  sinheritDescription
  true
  snotXmlAttribute
  false
  sjson_isArray
  false
  sjson_attribute
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_noThingRegistViewer
  false
  sth_fileMonitor
  false
  sth_mark
  false
  sth_registQueryOnlySelf
  false
  sgroupDescriptor
  false
  sid
  Shell
