remove some not finished code
authorKatja Luther <k.luther@bgbm.org>
Wed, 30 Jun 2021 08:48:28 +0000 (10:48 +0200)
committerKatja Luther <k.luther@bgbm.org>
Wed, 30 Jun 2021 08:48:28 +0000 (10:48 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/reference/ReferenceDetailElement.java

index e5344e4bc434c35712bb9c5692f8eb35dc4a13fe..f7721f754826f3531b5fb2e9a061fb5c6fb3da74 100644 (file)
@@ -17,12 +17,9 @@ import org.joda.time.DateTime;
 
 import eu.etaxonomy.cdm.model.agent.Institution;
 import eu.etaxonomy.cdm.model.agent.TeamOrPersonBase;
-import eu.etaxonomy.cdm.model.description.DescriptionElementSource;
 import eu.etaxonomy.cdm.model.reference.Reference;
 import eu.etaxonomy.cdm.model.reference.ReferenceFactory;
 import eu.etaxonomy.cdm.model.reference.ReferenceType;
-import eu.etaxonomy.taxeditor.model.AbstractUtility;
-import eu.etaxonomy.taxeditor.preference.Resources;
 import eu.etaxonomy.taxeditor.store.StoreUtil;
 import eu.etaxonomy.taxeditor.ui.combo.EnumComboElement;
 import eu.etaxonomy.taxeditor.ui.element.CacheRelevance;
@@ -32,7 +29,6 @@ import eu.etaxonomy.taxeditor.ui.element.DoiWithLabelElement;
 import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
 import eu.etaxonomy.taxeditor.ui.element.IErrorIntolerableElement;
 import eu.etaxonomy.taxeditor.ui.element.IExceptionHandler;
-import eu.etaxonomy.taxeditor.ui.element.LayoutConstants;
 import eu.etaxonomy.taxeditor.ui.element.LsidWithExceptionLabelElement;
 import eu.etaxonomy.taxeditor.ui.element.TextWithLabelElement;
 import eu.etaxonomy.taxeditor.ui.element.ToggleableTextElement;
@@ -174,11 +170,11 @@ public class ReferenceDetailElement extends AbstractIdentifiableEntityDetailElem
 
                createUri(this, entity, SWT.NULL);
 
-               externalLinks = formFactory.createExternalLinksSection(getConversationHolder(), formElement, StoreUtil.getSectionStyle(ExternalLinksSection.class, DescriptionElementSource.class.getCanonicalName()));
-        externalLinks.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 3));
-        externalLinks.setEntity(entity);
-        externalLinks.setFont(AbstractUtility.getFont(Resources.COLOR_FONT_DEFAULT));
-        externalLinks.setEmptySectionString("No links yet.");
+//             externalLinks = formFactory.createExternalLinksSection(getConversationHolder(), formElement, StoreUtil.getSectionStyle(ExternalLinksSection.class, DescriptionElementSource.class.getCanonicalName()));
+//        externalLinks.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 3));
+//        externalLinks.setEntity(entity);
+//        externalLinks.setFont(AbstractUtility.getFont(Resources.COLOR_FONT_DEFAULT));
+//        externalLinks.setEmptySectionString("No links yet.");
 
                if(referenceType != null && (!referenceType.equals(ReferenceType.Journal) && !referenceType.equals(ReferenceType.PrintSeries) && !referenceType.equals(ReferenceType.PersonalCommunication))) {
             text_doi = formFactory.createDoiWithLabelElement(formElement, "DOI", entity.getDoi(), style);