Revision 4e9ba486
Added by Cherian Mathew over 10 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/description/DescriptionElementSourceElement.java | ||
---|---|---|
99 | 99 |
text_referenceDetail.setText(entity.getCitationMicroReference()); |
100 | 100 |
text_originaleNameString.setText(entity.getOriginalNameString()); |
101 | 101 |
selection_name.setEntity(entity.getNameUsedInSource()); |
102 |
combo_origsourcetype.setSelection(entity.getType()); |
|
102 | 103 |
} |
103 | 104 |
|
104 | 105 |
/** {@inheritDoc} */ |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/description/DescriptionElementSourceSection.java | ||
---|---|---|
40 | 40 |
/** {@inheritDoc} */ |
41 | 41 |
@Override |
42 | 42 |
public DescriptionElementSource createNewElement() { |
43 |
OriginalSourceType ost = OriginalSourceTypeSelectionDialog.select(getShell(), getConversationHolder()); |
|
44 |
if(ost != null) { |
|
45 |
return DescriptionElementSource.NewInstance(ost); |
|
46 |
} else { |
|
47 |
return null; |
|
48 |
} |
|
49 |
|
|
43 |
return DescriptionElementSource.NewInstance(OriginalSourceType.PrimaryTaxonomicSource); |
|
50 | 44 |
} |
51 | 45 |
|
52 | 46 |
/** {@inheritDoc} */ |
Also available in: Unified diff
removed pop-up dialog for original source type and instead directly set the default type as PrimaryTaxonomicSource