boolean propertiesAvailable = propertyCombo.getItemCount() != 0;
propertyRadioButton.setEnabled(propertiesAvailable);
propertyCombo.setEnabled(propertiesAvailable);
PropertyBinding propertyBinding = null;
InputListItem item = getSelectedInputListItem ();
if (item != null) {
InputBinding binding = item.getInputBinding();
if (binding instanceof PropertyBinding) {
propertyBinding = (PropertyBinding)binding;
}
}
if (propertyBinding != null) {
propertyCombo.setSelectedInfo(propertyBinding.getPropertyInfo());
propertyRadioButton.setSelected (true);
} else {
propertyCombo.setSelectedIndex(-1);