Project

General

Profile

Download (1.2 KB) Statistics
| Branch: | Tag: | Revision:
1
// $Id$
2
/**
3
* Copyright (C) 2014 EDIT
4
* European Distributed Institute of Taxonomy
5
* http://www.e-taxonomy.eu
6
*
7
* The contents of this file are subject to the Mozilla Public License Version 1.1
8
* See LICENSE.TXT at the top of this package for the full license terms.
9
*/
10
package eu.etaxonomy.taxeditor.ui.section.occurrence;
11

    
12
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
13
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
14
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement;
15
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection;
16

    
17
/**
18
 * @author pplitzner
19
 * @date 27.01.2014
20
 *
21
 */
22
public class EmptySection extends AbstractCdmDetailSection<Object> {
23

    
24
    public EmptySection(CdmFormFactory formFactory, ICdmFormElement parentElement, int style) {
25
        super(formFactory, null, parentElement, null, style);
26
    }
27

    
28
    /** {@inheritDoc} */
29
    @Override
30
    public String getHeading() {
31
        return "No details view implemented for this element";
32
    }
33

    
34
    @Override
35
    protected AbstractCdmDetailElement<Object> createCdmDetailElement(AbstractCdmDetailSection<Object> parentElement, int style) {
36
        return formFactory.createEmptyElement(parentElement, null);
37
    }
38
}
(17-17/36)