@Override
public void handleEvent(Object eventSource) {
if(eventSource == combo_annotationType){
- getEntity().setTypeLabel(combo_annotationType.getSelection().getLabel());
- getEntity().setTypeUuid(combo_annotationType.getSelection().getUuid());
+ getEntity().setTypeLabel(combo_annotationType.getSelection() == null ? null :combo_annotationType.getSelection().getLabel());
+ getEntity().setTypeUuid(combo_annotationType.getSelection() == null ? null :combo_annotationType.getSelection().getUuid());
}else if(eventSource == text){
getEntity().setText(text.getText());
}