public interface IIconProvider
IStructuredResult
.
See Icon
ImageHelper
for well-known icons. To add custom icons, place the GIF
file in your class path and return the resource URL:
private static final URL SCA = SCAQuery.class.getResource("/META-INF/icons/sca.gif"); public URL getIcon(Object row) { if (row instanceof SCA) return SCA; return null; }
Modifier and Type | Field and Description |
---|---|
static IIconProvider |
EMPTY |
static final IIconProvider EMPTY