TaxonName conceptName = HibernateProxyHelper.deproxy(getMisappliedName().getName());
if (isMisapplication && StringUtils.isNotBlank(conceptName.getAuthorshipCache())){
author = ", non " + conceptName.getAuthorshipCache();
- }else if (!isMisapplication && StringUtils.isNotBlank(conceptName.getAuthorshipCache())){
- author = conceptName.getAuthorshipCache();
}
if ((isMisapplication &&getMisappliedName().getSec() == null) || (!isMisapplication && relationship.getCitation() == null)) {
if (getMisappliedName().getAppendedPhrase() != null ){
if (isMisapplication){
sec = " sensu ";
}else{
- sec = " syn sec ";
+ sec = " syn. sec. ";
}
if (getMisappliedName().getAppendedPhrase() != null ){
sec = getMisappliedName().getAppendedPhrase() + " " + sec;
updateIndent();
updateIcon();
-
- String text = NameHelper.getDisplayNameCache(getData());
+ String text;
+ if (isMisapplication){
+ text = NameHelper.getDisplayNameCache(getData());
+ }else{
+ text = NameHelper.getDisplayName(getData());
+ }
if (text.length() == 0) {
initEmptyText();
public void refresh() {
// showNameRelations();
- String text = NameHelper.getDisplayNameCache(getData());
+ String text;
+ if (isMisapplication){
+ text = NameHelper.getDisplayNameCache(getData());
+ }else{
+ text = NameHelper.getDisplayName(getData());
+ }
+
if (getNameViewer().getTextWidget() == null) {
// we might get here via dnd. Look slike it can be ignored
addElement(taxonElement);
- sensuReference = formFactory.createSelectionElement(Reference.class,//getConversationHolder(),
- formElement, "Sec",
- taxon.getSec(), EntitySelectionElement.ALL,
- style);
- text_sensu_microreference = formFactory.createTextWithLabelElement(
- formElement, "Detail",
- taxon.getSecMicroReference(),null,
- SWT.WRAP);
secReference = formFactory.createSelectionElement(Reference.class,//getConversationHolder(),
- formElement, "Syn Sec.",
+ formElement, "Syn. Sec.",
entity.getCitation(), EntitySelectionElement.ALL,
style);
formElement, "Detail",
entity.getCitationMicroReference(),null,
SWT.WRAP);
+ sensuReference = formFactory.createSelectionElement(Reference.class,//getConversationHolder(),
+ formElement, "Sec",
+ taxon.getSec(), EntitySelectionElement.ALL,
+ style);
+
+ text_sensu_microreference = formFactory.createTextWithLabelElement(
+ formElement, "Detail",
+ taxon.getSecMicroReference(),null,
+ SWT.WRAP);
combo_misappliedRelationshipType = formFactory.createMisappliedRelationshipComboElement(formElement, "Synonym Type",
entity.getType(), style);