Project

General

Profile

Download (2.29 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2007 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
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.
8
*/
9

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

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

    
14
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
15
import eu.etaxonomy.cdm.api.facade.DerivedUnitFacade;
16
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
17
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
18
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement;
19
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection;
20

    
21
/**
22
 * <p>GatheringEventDetailSection class.</p>
23
 *
24
 * @author n.hoffmann
25
 * @created Jun 24, 2010
26
 * @version 1.0
27
 */
28
public class GatheringEventDetailSection extends AbstractCdmDetailSection<DerivedUnitFacade> implements IDerivedUnitFacadeDetailSection{
29

    
30
	/**
31
	 * <p>Constructor for GatheringEventDetailSection.</p>
32
	 *
33
	 * @param formFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
34
	 * @param conversation a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder} object.
35
	 * @param parentElement a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement} object.
36
	 * @param selectionProvider a {@link org.eclipse.jface.viewers.ISelectionProvider} object.
37
	 * @param style a int.
38
	 */
39
	public GatheringEventDetailSection(CdmFormFactory formFactory,
40
			ConversationHolder conversation, ICdmFormElement parentElement,
41
			ISelectionProvider selectionProvider, int style) {
42
		super(formFactory, conversation, parentElement, selectionProvider, style);
43
	}
44

    
45

    
46
	/* (non-Javadoc)
47
	 * @see eu.etaxonomy.taxeditor.section.AbstractCdmDetailSection#getHeading()
48
	 */
49
	/** {@inheritDoc} */
50
	@Override
51
	public String getHeading() {
52
		return "Gathering Event Details";
53
	}
54

    
55
	/* (non-Javadoc)
56
	 * @see eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection#createCdmDetailElement(eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection, int)
57
	 */
58
	@Override
59
	protected AbstractCdmDetailElement<DerivedUnitFacade> createCdmDetailElement(AbstractCdmDetailSection<DerivedUnitFacade> parentElement, int style) {
60
	    return formFactory.createGatheringEventDetailElement(parentElement);
61
	}
62
}
(25-25/36)