}
private Icon getIconForEntity(Object nodeObject) {
IntegrationEntity entity = (IntegrationEntity) nodeObject;
EntityType type;
Size size;
if (entity instanceof RootFolder) {
size = Size.MEDIUM;
type = ((RootFolder) entity).getItemType();
} else {
size = Size.SMALL;