@Override
public void handleEvent(Object eventSource) {
- if (eventSource == text_idInSource) {
- getEntity().setIdInSource(text_idInSource.getText());
- } else if (eventSource == text_idNamespace) {
- getEntity().setIdNamespace(text_idNamespace.getText());
- } else if (eventSource == selection_reference) {
- getEntity().setCitation(selection_reference.getSelection());
- } else if (eventSource == text_referenceDetail) {
- getEntity().setCitationMicroReference(
- text_referenceDetail.getText());
- } else if (eventSource == text_originalInfo) {
- getEntity().setOriginalInfo(
- text_originalInfo.getText());
- } else if (eventSource == selection_name) {
- getEntity().setNameUsedInSource(selection_name.getSelection());
- }
- else if(eventSource == combo_origsourcetype){
- getEntity().setType(combo_origsourcetype.getSelection());
- }
+ super.handleEvent(eventSource);
+ if (eventSource == selection_name) {
+ getEntity().setNameUsedInSource(selection_name.getSelection());
+ }
}
@Override
}
}
}
+
+ @Override
+ public void handleEvent(Object eventSource) {
+ if(eventSource == text_idInSource){
+ getEntity().setIdInSource(text_idInSource.getText());
+ }
+ else if(eventSource == text_idNamespace){
+ getEntity().setIdNamespace(text_idNamespace.getText());
+ }
+ else if(eventSource == selection_reference){
+ getEntity().setCitation(selection_reference.getSelection());
+ }
+ else if(eventSource == text_referenceDetail){
+ getEntity().setCitationMicroReference(text_referenceDetail.getText());
+ }
+ else if(eventSource == text_originalInfo){
+ getEntity().setOriginalInfo(text_originalInfo.getText());
+ }
+ else if(eventSource == combo_origsourcetype){
+ getEntity().setType(combo_origsourcetype.getSelection());
+ }
+ }
}
\ No newline at end of file
@Override
public void handleEvent(Object eventSource) {
- if(eventSource == text_idInSource){
- getEntity().setIdInSource(text_idInSource.getText());
- }
- else if(eventSource == text_idNamespace){
- getEntity().setIdNamespace(text_idNamespace.getText());
- }
- if(eventSource == selection_reference){
- getEntity().setCitation(selection_reference.getSelection());
- }
- else if(eventSource == text_referenceDetail){
- getEntity().setCitationMicroReference(text_referenceDetail.getText());
- }
- else if(eventSource == text_originalInfo){
- getEntity().setOriginalInfo(text_originalInfo.getText());
- } else if(eventSource == combo_origsourcetype){
- getEntity().setType(combo_origsourcetype.getSelection());
- }
+ super.handleEvent(eventSource);
}
}