All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xworker.swt.actions.DialogActions.xer.txt Maven / Gradle / Ivy

^1439885851705
@
sname
DialogActions
slabel
DialogActions
sdescriptors
xworker.lang.MetaDescriptor3
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
sth_createIndex
false
@/@DirectoryDialog
sname
DirectoryDialog
sdescriptors
xworker.lang.MetaDescriptor3/@thing
sextends
xworker.lang.actions.SelfAction
smany
true
seditCols
2
sinitialization
false
sgroup
swt.dialogs
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@

打开一个获取文件目录的对话框,触发open事件,参数fileName。

事件:

  • open
    对话框结束后调用,参数fileName,如果没有选择目录fileName=null。
#$@text#$@ snotXmlAttribute false sth_createIndex true sth_registThing child|xworker.lang.actions.Actions @/@DirectoryDialog/@actions sname actions sdescriptors xworker.lang.MetaDescriptor3/@actions sth_createIndex false @/@DirectoryDialog/@actions/@run sname run sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true souterClassName xworker.swt.actions.DialogActionsDirectoryDialogCreator smethodName run sdisableGlobalContext false sdescriptors xworker.lang.actions.JavaAction sth_createIndex false @/@DirectoryDialog/@actions/@open sname open sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true suseInnerJava false souterClassName xworker.swt.actions.FileDialogActions smethodName open 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 @/@DirectoryDialog/@actions/@getShell sname getShell sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true suseInnerJava false souterClassName xworker.swt.actions.FileDialogActions smethodName getShell 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 @/@DirectoryDialog/@actions/@getFilterPath sname getFilterPath sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true suseInnerJava false souterClassName xworker.swt.actions.FileDialogActions smethodName getFilterPath 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 @/@DirectoryDialog/@name sname name sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false @/@DirectoryDialog/@label sname label sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false @/@DirectoryDialog/@shell sname shell sshowLabel true ssize 50 sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true snotXmlAttribute false sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false @/@DirectoryDialog/@filterPath sname filterPath ssize 60 scolspan 2 sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false @/@DirectoryDialog/@message sname message sinputtype textarea scolspan 2 sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false @/@DirectoryDialog/@actions1 sname actions slabel Actions sdescriptors xworker.lang.MetaDescriptor2/@thing sextends xworker.lang.actions.Actions smany true seditCols 2 Sdescription #$@text#$@

动作集合,通过子节点可以添加各种动作,动作通常是一个可执行的程序。

事物的第一个动作集合的子事物才可以作为事物的行为,第二个及其他动作集合就不能作为事物的行为使用了,事物的行为默认找第一个动作集合。

事物的run方法一般是这个事物转化为动作之后执行的方法。

#$@text#$@ sid actions szh_label 动作 sth_createIndex false @/@DirectoryDialog/@actions1/@name sname name sid name sdescriptors xworker.lang.MetaDescriptor2/@attribute @/@FileDialog sname FileDialog sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.lang.actions.SelfAction smany true seditCols 2 sinitialization false sgroup swt.dialogs smodifier public sinheritDescription false Sdescription #$@text#$@

打开一个文件对话框,通过实现open事件来接受文件对话框打开后的结果。

返回值:

    返回open方法的返回值。

事件:

  • open
    参数fileName,如果没有选择文件fileName=null。

可以重写的方法:

  • getShell 
  • getFileName
  • getFileNames
  • getFilterExtensions
  • getFilterIndex
  • getFilterNames
  • getFilterPath
  • getOverwrite
  • getText
#$@text#$@ snotXmlAttribute false sth_createIndex true sth_registThing child|xworker.lang.actions.Actions sth_registMyChilds false sth_mark false @/@FileDialog/@actions sname actions sdescriptors xworker.lang.MetaDescriptor3/@actions sinheritDescription false sth_createIndex false sth_registMyChilds false sth_mark false @/@FileDialog/@actions/@run sname run sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true suseInnerJava false souterClassName xworker.swt.actions.FileDialogActions smethodName run 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 @/@FileDialog/@actions/@open sname open sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true suseInnerJava false souterClassName xworker.swt.actions.FileDialogActions smethodName open 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 @/@FileDialog/@actions/@getShell sname getShell sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true suseInnerJava false souterClassName xworker.swt.actions.FileDialogActions smethodName getShell 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 @/@FileDialog/@actions/@getFileName sname getFileName sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true suseInnerJava false souterClassName xworker.swt.actions.FileDialogActions smethodName getFileName 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 @/@FileDialog/@actions/@getText sname getText sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true suseInnerJava false souterClassName xworker.swt.actions.FileDialogActions smethodName getText 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 @/@FileDialog/@actions/@getFilterExtensions sname getFilterExtensions sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true suseInnerJava false souterClassName xworker.swt.actions.FileDialogActions smethodName getFilterExtensions 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 @/@FileDialog/@actions/@getFilterIndex sname getFilterIndex sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true suseInnerJava false souterClassName xworker.swt.actions.FileDialogActions smethodName getFilterIndex 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 @/@FileDialog/@actions/@getFilterNames sname getFilterNames sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true suseInnerJava false souterClassName xworker.swt.actions.FileDialogActions smethodName getFilterNames 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 @/@FileDialog/@actions/@getFilterPath sname getFilterPath sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true suseInnerJava false souterClassName xworker.swt.actions.FileDialogActions smethodName getFilterPath 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 @/@FileDialog/@actions/@getOverwrite sname getOverwrite sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true suseInnerJava false souterClassName xworker.swt.actions.FileDialogActions smethodName getOverwrite 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 @/@FileDialog/@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 @/@FileDialog/@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 @/@FileDialog/@shell sname shell sshowLabel true ssize 50 sreadOnly false sinheritDescription false sdescription

返回用于创建FileDialog的Shell,支持ognl:、var:等前缀。

svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true snotXmlAttribute false sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false sth_registMyChilds false sth_mark false @/@FileDialog/@style sname style sinputtype select sshowLabel true sreadOnly false sdefault OPEN 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 @/@FileDialog/@style/@SAVE sname SAVE svalue SAVE sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value sinheritDescription false sth_createIndex false sth_registMyChilds false sth_mark false @/@FileDialog/@style/@OPEN sname OPEN svalue OPEN sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value sinheritDescription false sth_createIndex false sth_registMyChilds false sth_mark false @/@FileDialog/@style/@MULTI sname MULTI svalue MULTI sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value sinheritDescription false sth_createIndex false sth_registMyChilds false sth_mark false @/@FileDialog/@fileName sname fileName sinputtype file sshowLabel true ssize 60 sreadOnly false sinheritDescription false Sdescription #$@text#$@

Set the initial filename which the dialog will select by default when opened to the argument, which may be null.

支持UtilString。

#$@text#$@ svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true snotXmlAttribute false sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false sth_registMyChilds false sth_mark false @/@FileDialog/@filterExtensions sname filterExtensions sshowLabel true ssize 60 sreadOnly false sinheritDescription false Sdescription #$@text#$@

Set the file extensions which the dialog will use to filter the files it shows to the argument, which may be null.

类型:String[],如有多个使用英文逗号分隔。

#$@text#$@ svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true snotXmlAttribute false sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false sth_registMyChilds false sth_mark false @/@FileDialog/@filterIndex sname filterIndex sshowLabel true sreadOnly false sinheritDescription false sdescription

Set the 0-based index of the file extension filter which the dialog will use initially to filter the files it shows to the argument.

svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true snotXmlAttribute false sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false sth_registMyChilds false sth_mark false @/@FileDialog/@filterNames sname filterNames sshowLabel true ssize 60 sreadOnly false sinheritDescription false Sdescription #$@text#$@

Sets the names that describe the filter extensions which the dialog will use to filter the files it shows to the argument, which may be null.

类型:String[],如有多个使用英文逗号分隔。

#$@text#$@ svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true snotXmlAttribute false sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false sth_registMyChilds false sth_mark false @/@FileDialog/@filterPath sname filterPath sinputtype filePath sshowLabel true ssize 60 sreadOnly false sinheritDescription false Sdescription #$@text#$@

Sets the directory path that the dialog will use to the argument, which may be null.

支持UtilString.

#$@text#$@ svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true snotXmlAttribute false sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false sth_registMyChilds false sth_mark false @/@FileDialog/@overwrite sname overwrite sinputtype truefalse sshowLabel true sreadOnly false sdefault false sinheritDescription false sdescription

Sets the flag that the dialog will use to determine whether to prompt the user for file overwrite if the selected file already exists.

svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true snotXmlAttribute false sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false sth_registMyChilds false sth_mark false @/@FileDialog/@text sname text sinputtype textarea sshowLabel true ssize 60 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 @/@FileDialog/@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 @/@FileDialog/@actions1 sname actions slabel Actions sdescriptors xworker.lang.MetaDescriptor2/@thing sextends xworker.lang.actions.Actions smany true seditCols 2 Sdescription #$@text#$@

动作集合,通过子节点可以添加各种动作,动作通常是一个可执行的程序。

事物的第一个动作集合的子事物才可以作为事物的行为,第二个及其他动作集合就不能作为事物的行为使用了,事物的行为默认找第一个动作集合。

事物的run方法一般是这个事物转化为动作之后执行的方法。

#$@text#$@ sid actions szh_label 动作 sth_createIndex false @/@FileDialog/@actions1/@name sname name sid name sdescriptors xworker.lang.MetaDescriptor2/@attribute @/@ColorDialog sname ColorDialog sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.lang.actions.SelfAction smany true seditCols 2 sinitialization false sgroup swt.dialogs smodifier public sinheritDescription false Sdescription #$@text#$@

打开一个选择颜色对话框,触发open事件。

事件:

  • open
    对话框结束后调用,参数color,如果没有选择颜色color=null。
#$@text#$@ snotXmlAttribute false sth_createIndex true sth_registThing child|xworker.lang.actions.Actions sth_registMyChilds false sth_registDisabled false sth_mark false @/@ColorDialog/@actions sname actions sdescriptors xworker.lang.MetaDescriptor3/@actions sth_createIndex false @/@ColorDialog/@actions/@run sname run sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true suseInnerJava false souterClassName xworker.swt.actions.DialogActions smethodName openColorDialog sdisableGlobalContext false sattributeTemplate false sinterpretationType Action svarScope Global screateLocalVarScope false ssaveReturn false sdebugLog false sdescriptors xworker.lang.actions.JavaAction sth_createIndex false @/@ColorDialog/@actions/@getShell sname getShell sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true suseInnerJava false souterClassName xworker.swt.actions.FileDialogActions smethodName getShell 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 @/@ColorDialog/@actions/@open sname open sdescriptors xworker.lang.actions.Actions/@NOOP sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@ColorDialog/@name sname name sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false @/@ColorDialog/@label sname label sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false @/@ColorDialog/@shell sname shell sshowLabel true ssize 50 sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true snotXmlAttribute false sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false @/@ColorDialog/@message sname text sinputtype text sshowLabel true ssize 50 scolspan 2 sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true snotXmlAttribute false sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false @/@ColorDialog/@actions1 sname actions slabel Actions sdescriptors xworker.lang.MetaDescriptor2/@thing sextends xworker.lang.actions.Actions smany true seditCols 2 Sdescription #$@text#$@

动作集合,通过子节点可以添加各种动作,动作通常是一个可执行的程序。

事物的第一个动作集合的子事物才可以作为事物的行为,第二个及其他动作集合就不能作为事物的行为使用了,事物的行为默认找第一个动作集合。

事物的run方法一般是这个事物转化为动作之后执行的方法。

#$@text#$@ sid actions szh_label 动作 sth_createIndex false @/@ColorDialog/@actions1/@name sname name sid name sdescriptors xworker.lang.MetaDescriptor2/@attribute @/@FontDialog sname FontDialog sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.lang.actions.SelfAction smany true seditCols 2 sinitialization false sgroup swt.dialogs smodifier public sinheritDescription false Sdescription #$@text#$@

打开一个选择字体对话框,触发open事件。

事件:

  • open
    对话框结束后调用,参数font,如果没有选择字体font=null。
#$@text#$@ snotXmlAttribute false sth_createIndex true sth_registThing child|xworker.lang.actions.Actions sth_registMyChilds false sth_registDisabled false sth_mark false @/@FontDialog/@actions sname actions sdescriptors xworker.lang.MetaDescriptor3/@actions sth_createIndex false @/@FontDialog/@actions/@run sname run sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true suseInnerJava false souterClassName xworker.swt.actions.DialogActions smethodName openFontDialog sdisableGlobalContext false sattributeTemplate false sinterpretationType Action svarScope Global screateLocalVarScope false ssaveReturn false sdebugLog false sdescriptors xworker.lang.actions.JavaAction sth_createIndex false @/@FontDialog/@actions/@getShell sname getShell sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true suseInnerJava false souterClassName xworker.swt.actions.FileDialogActions smethodName getShell 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 @/@FontDialog/@actions/@open sname open sdescriptors xworker.lang.actions.Actions/@NOOP sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@FontDialog/@name sname name sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false @/@FontDialog/@label sname label sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false @/@FontDialog/@shell sname shell sshowLabel true ssize 50 sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true snotXmlAttribute false sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false @/@FontDialog/@message sname text sinputtype text sshowLabel true ssize 50 scolspan 2 sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true snotXmlAttribute false sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false @/@FontDialog/@actions1 sname actions slabel Actions sdescriptors xworker.lang.MetaDescriptor2/@thing sextends xworker.lang.actions.Actions smany true seditCols 2 Sdescription #$@text#$@

动作集合,通过子节点可以添加各种动作,动作通常是一个可执行的程序。

事物的第一个动作集合的子事物才可以作为事物的行为,第二个及其他动作集合就不能作为事物的行为使用了,事物的行为默认找第一个动作集合。

事物的run方法一般是这个事物转化为动作之后执行的方法。

#$@text#$@ sid actions szh_label 动作 sth_createIndex false @/@FontDialog/@actions1/@name sname name sid name sdescriptors xworker.lang.MetaDescriptor2/@attribute @/@PrintDialog sname PrintDialog sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.lang.actions.SelfAction smany true seditCols 2 sinitialization false sgroup swt.dialogs smodifier public sinheritDescription false Sdescription #$@text#$@

打开一个打印对话框,触发open事件。

事件:

  • open
    对话框结束后调用,参数printData,如果没有选择字体printData
#$@text#$@ snotXmlAttribute false sth_createIndex true sth_registThing child|xworker.lang.actions.Actions sth_registMyChilds false sth_registDisabled false sth_mark false @/@PrintDialog/@actions sname actions sdescriptors xworker.lang.MetaDescriptor3/@actions sth_createIndex false @/@PrintDialog/@actions/@run sname run sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true suseInnerJava false souterClassName xworker.swt.actions.DialogActions smethodName openPrintDialog sdisableGlobalContext false sattributeTemplate false sinterpretationType Action svarScope Global screateLocalVarScope false ssaveReturn false sdebugLog false sdescriptors xworker.lang.actions.JavaAction sth_createIndex false @/@PrintDialog/@actions/@getShell sname getShell sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true suseInnerJava false souterClassName xworker.swt.actions.FileDialogActions smethodName getShell 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 @/@PrintDialog/@actions/@open sname open sdescriptors xworker.lang.actions.Actions/@NOOP sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@PrintDialog/@name sname name sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false @/@PrintDialog/@label sname label sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false @/@PrintDialog/@shell sname shell sshowLabel true ssize 50 sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true snotXmlAttribute false sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false @/@PrintDialog/@message sname text sinputtype text sshowLabel true ssize 50 sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true snotXmlAttribute false sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false @/@PrintDialog/@startPage sname startPage 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_registDisabled false sth_mark false @/@PrintDialog/@endPage sname endPage 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_registDisabled false sth_mark false @/@PrintDialog/@printData sname printData sshowLabel true ssize 50 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_registDisabled false sth_mark false @/@PrintDialog/@printToFile sname printToFile sinputtype truefalse 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_registDisabled false sth_mark false @/@PrintDialog/@scope sname scope 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_registDisabled false sth_mark false @/@PrintDialog/@actions1 sname actions slabel Actions sdescriptors xworker.lang.MetaDescriptor2/@thing sextends xworker.lang.actions.Actions smany true seditCols 2 Sdescription #$@text#$@

动作集合,通过子节点可以添加各种动作,动作通常是一个可执行的程序。

事物的第一个动作集合的子事物才可以作为事物的行为,第二个及其他动作集合就不能作为事物的行为使用了,事物的行为默认找第一个动作集合。

事物的run方法一般是这个事物转化为动作之后执行的方法。

#$@text#$@ sid actions szh_label 动作 sth_createIndex false @/@PrintDialog/@actions1/@name sname name sid name sdescriptors xworker.lang.MetaDescriptor2/@attribute




© 2015 - 2025 Weber Informatics LLC | Privacy Policy