[kepler-dev] [Bug 2362] - DataSourceIcon: use new SVG Icons dynamically, instead of drawing icon
bugzilla-daemon at ecoinformatics.org
bugzilla-daemon at ecoinformatics.org
Fri May 19 16:42:18 PDT 2006
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2362
------- Comment #1 from brooke at nceas.ucsb.edu 2006-05-19 16:42 -------
could do this in org.ecoinformatics.seek.datasource.DataSourceIcon code by
setting the "_svgIcon" attribute to point to the correct svg icons for the
different states
(for an example of how to add this attribute, see _addIconAttributeToNamedObj()
method in ptolemy.kernel.util.ComponentEntityConfig, which is currently in
kepler/src/exp...)
The icon names shouldn't be hard-coded in the java class, but rather should be
read from either the:
configs/ptolemy/configs/kepler/uiSVGIconMappingsByClass.properties
file, or the:
configs/ptolemy/configs/kepler/uiSettigns.properties
file
More information about the Kepler-dev
mailing list