if (value instanceof DefaultMutableTreeNode) {
DefaultMutableTreeNode node = (DefaultMutableTreeNode) value;
String iconKey = "";
if ((node.getUserObject() != null) && (node.getUserObject() instanceof ConfigTreeNode)) {
IConfig<?> c = ((ConfigTreeNode) node.getUserObject()).getConfig();
ScanType st = c.getType();
if (st == ScanType.SCAN_1D) {
iconKey = "salsa.scanconfig.1d.big";
}
else if (st == ScanType.SCAN_2D) {
iconKey = "salsa.scanconfig.2d.big";