Project

General

Profile

Download (1.3 KB) Statistics
| Branch: | Tag: | Revision:
1
// $Id$
2
/**
3
* Copyright (C) 2009 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.common;
11

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

    
14
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
15
import eu.etaxonomy.cdm.model.common.ReferencedEntityBase;
16
import eu.etaxonomy.taxeditor.ui.forms.CdmFormFactory;
17
import eu.etaxonomy.taxeditor.ui.forms.CdmFormFactory.DetailType;
18
import eu.etaxonomy.taxeditor.ui.forms.ICdmFormElement;
19
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection;
20

    
21
/**
22
 * @author n.hoffmann
23
 * @date Dec 1, 2011
24
 *
25
 */
26
public class ReferencedEntityDetailSection extends AbstractCdmDetailSection<ReferencedEntityBase>{
27

    
28
	public ReferencedEntityDetailSection(CdmFormFactory formFactory,
29
			ConversationHolder conversation, ICdmFormElement parentElement,
30
			ISelectionProvider selectionProvider, int style) {
31
		super(formFactory, conversation, parentElement, selectionProvider, style);
32
	}
33

    
34
	@Override
35
	protected DetailType getDetailType() {
36
		return DetailType.REFERENCED_ENTITY;
37
	}
38

    
39
	@Override
40
	public String getHeading() {
41
		return "Reference";
42
	}
43

    
44

    
45
}
(1-1/2)