Revision b0ce5b17
Added by Patrick Plitzner over 10 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/FieldObservationDetailSection.java | ||
---|---|---|
1 | 1 |
// $Id$ |
2 | 2 |
/** |
3 | 3 |
* Copyright (C) 2007 EDIT |
4 |
* European Distributed Institute of Taxonomy
|
|
4 |
* European Distributed Institute of Taxonomy |
|
5 | 5 |
* http://www.e-taxonomy.eu |
6 |
*
|
|
6 |
* |
|
7 | 7 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
8 | 8 |
* See LICENSE.TXT at the top of this package for the full license terms. |
9 | 9 |
*/ |
... | ... | |
16 | 16 |
import eu.etaxonomy.cdm.api.facade.DerivedUnitFacade; |
17 | 17 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
18 | 18 |
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement; |
19 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory.DetailType;
|
|
19 |
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement;
|
|
20 | 20 |
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection; |
21 | 21 |
|
22 | 22 |
/** |
... | ... | |
27 | 27 |
* @version 1.0 |
28 | 28 |
*/ |
29 | 29 |
public class FieldObservationDetailSection extends AbstractCdmDetailSection<DerivedUnitFacade> implements IDerivedUnitFacadeDetailSection{ |
30 |
|
|
30 |
|
|
31 | 31 |
/** |
32 | 32 |
* <p>Constructor for FieldObservationDetailSection.</p> |
33 | 33 |
* |
... | ... | |
42 | 42 |
ISelectionProvider selectionProvider, int style) { |
43 | 43 |
super(formFactory, conversation, parentElement, selectionProvider, style); |
44 | 44 |
} |
45 |
|
|
46 |
/** {@inheritDoc} */ |
|
47 |
@Override |
|
48 |
protected DetailType getDetailType() { |
|
49 |
return DetailType.FIELD_OBSERVATION; |
|
50 |
} |
|
51 | 45 |
|
52 | 46 |
/** {@inheritDoc} */ |
53 | 47 |
@Override |
54 | 48 |
public String getHeading() { |
55 | 49 |
return "Field Observation Details"; |
56 | 50 |
} |
51 |
|
|
52 |
/* (non-Javadoc) |
|
53 |
* @see eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection#createCdmDetailElement(eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection, int) |
|
54 |
*/ |
|
55 |
@Override |
|
56 |
protected AbstractCdmDetailElement<DerivedUnitFacade> createCdmDetailElement(AbstractCdmDetailSection<DerivedUnitFacade> parentElement, int style) { |
|
57 |
return formFactory.createFieldObservationDetailElement(parentElement); |
|
58 |
} |
|
57 | 59 |
} |
Also available in: Unified diff
merged trunk into branch