xworker.swt.util.Resource.xer.txt Maven / Gradle / Ivy
^1439887656214
@
sname
Resource
slabel
Resource
sdescriptors
xworker.lang.MetaDescriptor3
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
集中创建SWT的各种资源。
这里的资源和父控件绑定,当父控件销毁时自动销毁,简化资源管理。
#$@text#$@
sid
Resource
@/@scripts
sname
scripts
sid
scripts
sdescriptors
xworker.lang.MetaDescriptor3/@actions
@/@scripts/@create
sname
create
sisSynchronized
false
sthrowException
false
suseOtherAction
false
suseOuterJava
true
souterClassName
xworker.swt.util.ResourceCreator
smethodName
create
sdisableGlobalContext
false
sid
create
sdescriptors
xworker.lang.actions.JavaAction
@/@name
sname
name
sdefault
resources
LvalidateOnBlur
false
LallowDecimals
false
LallowNegative
false
sid
name
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
@/@Color
sname
Color
sdescriptors
xworker.lang.MetaDescriptor3/@thing
sextends
xworker.swt.graphics.Color
smany
true
seditCols
2
sinitialization
false
sid
Color
@/@Cursor
sname
Cursor
sdescriptors
xworker.lang.MetaDescriptor3/@thing
sextends
xworker.swt.graphics.Cursor
smany
true
seditCols
2
sinitialization
false
sid
Cursor
@/@Font
sname
Font
sdescriptors
xworker.lang.MetaDescriptor3/@thing
sextends
xworker.swt.graphics.Font
smany
true
seditCols
2
sinitialization
false
sid
Font
@/@Image
sname
Image
sdescriptors
xworker.lang.MetaDescriptor3/@thing
sextends
xworker.swt.graphics.Image
smany
true
seditCols
2
sinitialization
false
sid
Image
@/@SystemImage
sname
SystemImage
sdescriptors
xworker.lang.MetaDescriptor3/@thing
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
snotXmlAttribute
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@SystemImage/@create
sname
actions
sdescriptors
xworker.lang.MetaDescriptor3/@actions
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@SystemImage/@create/@create
sname
create
sisSynchronized
false
sthrowException
true
suseOtherAction
false
svarScope
Local
sdisableGlobalContext
false
Scode
#$@text#$@
import org.eclipse.swt.SWT;
def im = self.getString("image");
def image = null;
if("CANCEL".equals(im)){
image = parent.getDisplay().getSystemImage(SWT.ICON_CANCEL);
}else if("ERROR".equals(im)){
image = parent.getDisplay().getSystemImage(SWT.ICON_ERROR);
}else if("INFORMATION".equals(im)){
image = parent.getDisplay().getSystemImage(SWT.ICON_INFORMATION);
}else if("QUESTION".equals(im)){
image = parent.getDisplay().getSystemImage(SWT.ICON_QUESTION);
}else if("SEARCH".equals(im)){
image = parent.getDisplay().getSystemImage(SWT.ICON_SEARCH);
}else if("WARNING".equals(im)){
image = parent.getDisplay().getSystemImage(SWT.ICON_WARNING);
}else if("WORKING".equals(im)){
image = parent.getDisplay().getSystemImage(SWT.ICON_WORKING);
}
actionContext.getScope(0).put(self.getMetadata().getName(), image);
return image;
#$@text#$@
sinterpretationType
Action
screateLocalVarScope
false
ssaveReturn
false
sdebugLog
false
sdescriptors
xworker.lang.actions.Actions/@GroovyAction
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@SystemImage/@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_registDisabled
false
sth_mark
false
@/@SystemImage/@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_registDisabled
false
sth_mark
false
@/@SystemImage/@image
sname
image
sinputtype
select
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
@/@SystemImage/@image/@CANCEL
sname
CANCEL
svalue
CANCEL
sdescriptors
xworker.lang.MetaDescriptor3/@attribute/@value
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@SystemImage/@image/@ERROR
sname
ERROR
svalue
ERROR
sdescriptors
xworker.lang.MetaDescriptor3/@attribute/@value
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@SystemImage/@image/@INFORMATION
sname
INFORMATION
svalue
INFORMATION
sdescriptors
xworker.lang.MetaDescriptor3/@attribute/@value
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@SystemImage/@image/@QUESTION
sname
QUESTION
svalue
QUESTION
sdescriptors
xworker.lang.MetaDescriptor3/@attribute/@value
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@SystemImage/@image/@SEARCH
sname
SEARCH
svalue
SEARCH
sdescriptors
xworker.lang.MetaDescriptor3/@attribute/@value
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@SystemImage/@image/@WARNING
sname
WARNING
svalue
WARNING
sdescriptors
xworker.lang.MetaDescriptor3/@attribute/@value
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
@/@SystemImage/@image/@WORKING
sname
WORKING
svalue
WORKING
sdescriptors
xworker.lang.MetaDescriptor3/@attribute/@value
sinheritDescription
false
sth_createIndex
false
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
© 2015 - 2025 Weber Informatics LLC | Privacy Policy