[kepler-dev] [Bug 2362] - DataSourceIcon: use new SVG Icons dynamically, instead of drawing icon

bugzilla-daemon@ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Thu May 25 15:54:38 PDT 2006


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2362


brooke at nceas.ucsb.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|2445                        |
              nThis|                            |




------- Comment #2 from brooke at nceas.ucsb.edu  2006-05-25 15:54 -------

Also add code to make the system assign raster thumbnail icons to these
"actors", since they currently do not get the new svg or raster icons assigned,
because they are not instantiated via ActorMetadata.java, where the
icon-assignment code is.


Christopher says:

> Perhaps the place to add code that looks up the icon would be
> ecoinformatics.seek.ecogrid.quicksearch.QuickSearchAction.resultsetComplete()
>
> We would need to iterate through resultRoot and call code like this:
>
>   IconLoader iconLoader = MoMLParser.getIconLoader();
>    if (iconLoader != null) {
>      iconLoader.loadIconForClass(
>         "org.ecoinformatics.seek.datasource.eml.eml2.Eml200DataSource",
>         this);
>    } 
>
> It might be smarter to just set the raster icon instead of both icons. 
>

Once this is done, need to change the display code to actually use these raster
icons in the list - see Bug #2445


More information about the Kepler-dev mailing list