combo_origsourcetype.setSelection(entity.getType());
externalLinks.setEntity(entity);
}
+ if (selection_specimen != null) {
+ selection_specimen.setEnabled(selection_reference.getEntity()== null);
+ selection_reference.setEnabled(selection_specimen.getEntity()== null);
+ }
}
@Override
public void setEnabled(boolean enabled) {
super.setEnabled(enabled);
externalLinks.setEnabled(isEnabled);
+ if (selection_specimen != null) {
+ selection_specimen.setEnabled(selection_reference.getEntity()== null);
+ selection_reference.setEnabled(selection_specimen.getEntity()== null);
+ }
}
}
\ No newline at end of file