table.refreshRowCache();
}
@Override
public void deleteResourceType(ResourceType resourceType) {
logger.info("Resource type " + resourceType.getName() + " has been removed.");
<BUG>table.removeItem(resourceType.getName());
table.refreshRowCache();
}</BUG>
};
table = new ResourceTypeTable(source) {

table.refreshRowCache();
}
@Override
public void deleteResourceType(ResourceType resourceType) {
logger.info("Resource type " + resourceType.getName() + " has been removed.");
Object itemId = table.getValue();
if (itemId != null) {
table.select(null);
table.removeItem(itemId);
table.refreshRowCache();
}
}
};
table = new ResourceTypeTable(source) {
