|Re: specifying icons in exeed [message #1043814 is a reply to message #1043267]
||Thu, 18 April 2013 06:47
| oskar saiz
Registered: February 2013
You are right.
c) case is also working. @exeed(icon="return 'compare';")
Anyway, I'd like to point a couple of things:
1.- According to previows message answers I would derive that the exeed documentation is not correct:
classIcon: EOL expression that returns the icon of the instances that conform to the EClass.
In my opinion, it should say somthing like:
classIcon: name of the icon of the instances that conform to the EClass. It is not a EOL expression but a name.
2.- When both annotations (icon and classIcon) are combined, it is not working as expected.
According to exeed documentation, when 'icon' is specified, it should override the classIcon annotation.
My experimentation suggest that the first annotation is "winning".
In the example above, when both annotations are used (icon and classIcon), the 'classIcon' one wins. (In the example, the "clock" icon is shown).
However, changing the order, the 'package' one wins.
This sounds like a bug. Doesn't it?
Powered by FUDForum
. Page generated in 0.03409 seconds