- set background color of uneditable text field
authorPatric Plitzner <p.plitzner@bgbm.org>
Mon, 15 Dec 2014 12:46:20 +0000 (12:46 +0000)
committerPatric Plitzner <p.plitzner@bgbm.org>
Mon, 15 Dec 2014 12:46:20 +0000 (12:46 +0000)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/AmplificationGeneralDetailElement.java

index 942842f21c991f99fd989e5ce7dd3110a0b713fa..57c02c415c9c3177ddb1ce8487381d38246ff99a 100644 (file)
@@ -60,6 +60,7 @@ public class AmplificationGeneralDetailElement extends AbstractCdmDetailElement<
     protected void createControls(ICdmFormElement formElement, Amplification entity, int style) {
         textDesignation = formFactory.createTextWithLabelElement(formElement, "Designation", entity.getLabelCache(), style);
         textDesignation.setEnabled(false);
+        textDesignation.setBackground(getPersistentBackground());
         selectionInstitution = formFactory.createSelectionElement(Institution.class, getConversationHolder(), formElement, "Institution", entity.getInstitution(), EntitySelectionElement.ALL, style);
         selectionAmplificationStaff = formFactory.createSelectionElement(AgentBase.class, getConversationHolder(), formElement, "Amplification staff", entity.getActor(), EntitySelectionElement.ALL, style);
         dateAmplification = formFactory.createTimePeriodElement(formElement, "Date", entity.getTimeperiod(), style);