selectedElement = (PropertiesConfigSet) selected;
editButtonsEnabled = ((PropertiesConfigSet) selectedElement).getType()
== IBeansConfigSet.Type.MANUAL;
}
else if (selected instanceof PropertiesConfig) {
PropertiesConfig config = (PropertiesConfig) selected;
PropertiesConfigSet configSet = (PropertiesConfigSet) config.getElementParent();
if (configSet != null && configSet.getConfigs().size() > 1) {
selectedElement = config;
moveButtonsEnabled = true;
}
}