2 * Copyright (C) 2014 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
9 package eu
.etaxonomy
.taxeditor
.ui
.section
.occurrence
.dna
;
11 import eu
.etaxonomy
.cdm
.model
.molecular
.AmplificationResult
;
12 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
;
13 import eu
.etaxonomy
.taxeditor
.ui
.element
.ICdmFormElement
;
14 import eu
.etaxonomy
.taxeditor
.ui
.element
.LayoutConstants
;
15 import eu
.etaxonomy
.taxeditor
.ui
.section
.AbstractCdmDetailElement
;
22 public class AmplificationGelPhotoDetailElement
extends AbstractCdmDetailElement
<AmplificationResult
> {
23 private AmplificationGelPhotoCollectionDetailSection sectionGelPhoto
;
29 public AmplificationGelPhotoDetailElement(CdmFormFactory formFactory
, ICdmFormElement formElement
) {
30 super(formFactory
, formElement
);
37 * eu.etaxonomy.taxeditor.section.AbstractCdmDetailElement#createControls
38 * (eu.etaxonomy.taxeditor.forms.ICdmFormElement, java.lang.Object, int)
41 protected void createControls(ICdmFormElement formElement
, AmplificationResult entity
, int style
) {
42 sectionGelPhoto
= formFactory
.createAmplificationGelPhotoCollectionDetailSection(getConversationHolder(), formElement
, style
);
43 sectionGelPhoto
.setLayoutData(LayoutConstants
.FILL_HORIZONTALLY(2, 1));
44 sectionGelPhoto
.setEntity(entity
);
51 * eu.etaxonomy.taxeditor.section.AbstractCdmDetailElement#handleEvent(java
55 public void handleEvent(Object eventSource
) {