Project

General

Profile

Download (1.68 KB) Statistics
| Branch: | Tag: | Revision:
1
// $Id$
2
/**
3
* Copyright (C) 2007 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

    
11
package eu.etaxonomy.taxeditor.ui.section.occurrence;
12

    
13
import org.eclipse.jface.viewers.ISelectionProvider;
14

    
15
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
16
import eu.etaxonomy.cdm.api.facade.DerivedUnitFacade;
17
import eu.etaxonomy.taxeditor.ui.forms.CdmFormFactory;
18
import eu.etaxonomy.taxeditor.ui.forms.CdmFormFactory.DetailType;
19
import eu.etaxonomy.taxeditor.ui.forms.ICdmFormElement;
20
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection;
21

    
22
/**
23
 * @author n.hoffmann
24
 * @created May 11, 2011
25
 * @version 1.0
26
 */
27
public class DeterminationDetailSection extends AbstractCdmDetailSection<DerivedUnitFacade> implements IDerivedUnitFacadeDetailSection {
28

    
29
	/**
30
	 * @param formFactory
31
	 * @param conversation
32
	 * @param parentElement
33
	 * @param selectionProvider
34
	 * @param style
35
	 */
36
	public DeterminationDetailSection(CdmFormFactory formFactory,
37
			ConversationHolder conversation, ICdmFormElement parentElement,
38
			ISelectionProvider selectionProvider, int style) {
39
		super(formFactory, conversation, parentElement, selectionProvider, style);
40
	}
41

    
42
	/* (non-Javadoc)
43
	 * @see eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection#getDetailType()
44
	 */
45
	@Override
46
	protected DetailType getDetailType() {
47
		return DetailType.DETERMINATION;
48
	}
49

    
50
	/* (non-Javadoc)
51
	 * @see eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection#getHeading()
52
	 */
53
	@Override
54
	public String getHeading() {
55
		return "Determinations"; 
56
	}
57

    
58
}
(13-13/29)