Icon (String file) { final ConfigurationBean bean = myState.getHistoryElements().get(file); if (bean != null) { ConfigurationType type = ConfigurationTypeUtil.findConfigurationType(bean.configurationId); if (type != null) return type.getIcon(); } return null; }