1 |
dd8c8181
|
Patric Plitzner
|
/**
|
2 |
|
|
* Copyright (C) 2014 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 |
87924e53
|
Patric Plitzner
|
package eu.etaxonomy.taxeditor.ui.section.occurrence.dna;
|
10 |
dd8c8181
|
Patric Plitzner
|
|
11 |
|
|
import org.eclipse.jface.viewers.ISelectionProvider;
|
12 |
|
|
|
13 |
|
|
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
|
14 |
|
|
import eu.etaxonomy.cdm.model.molecular.SingleRead;
|
15 |
|
|
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
|
16 |
dacb59c9
|
Patric Plitzner
|
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
|
17 |
dd8c8181
|
Patric Plitzner
|
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement;
|
18 |
|
|
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection;
|
19 |
|
|
|
20 |
|
|
/**
|
21 |
|
|
* @author pplitzner
|
22 |
|
|
* @date 06.01.2014
|
23 |
|
|
*
|
24 |
|
|
*/
|
25 |
|
|
public class SingleReadGeneralDetailSection extends AbstractCdmDetailSection<SingleRead>{
|
26 |
|
|
|
27 |
|
|
/**
|
28 |
|
|
* @param formFactory
|
29 |
|
|
* @param conversation
|
30 |
|
|
* @param parentElement
|
31 |
|
|
* @param selectionProvider
|
32 |
|
|
* @param style
|
33 |
|
|
*/
|
34 |
|
|
public SingleReadGeneralDetailSection(CdmFormFactory formFactory,
|
35 |
|
|
ConversationHolder conversation, ICdmFormElement parentElement,
|
36 |
|
|
ISelectionProvider selectionProvider, int style) {
|
37 |
|
|
super(formFactory, conversation, parentElement, selectionProvider, style);
|
38 |
|
|
}
|
39 |
|
|
|
40 |
|
|
|
41 |
|
|
/* (non-Javadoc)
|
42 |
|
|
* @see eu.etaxonomy.taxeditor.section.AbstractCdmDetailSection#getHeading()
|
43 |
|
|
*/
|
44 |
|
|
@Override
|
45 |
|
|
public String getHeading() {
|
46 |
d9a8f632
|
Patric Plitzner
|
return "General";
|
47 |
dd8c8181
|
Patric Plitzner
|
}
|
48 |
|
|
|
49 |
|
|
/* (non-Javadoc)
|
50 |
|
|
* @see eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection#createCdmDetailElement(eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection, int)
|
51 |
|
|
*/
|
52 |
|
|
@Override
|
53 |
|
|
protected AbstractCdmDetailElement<SingleRead> createCdmDetailElement(AbstractCdmDetailSection<SingleRead> parentElement, int style) {
|
54 |
|
|
return formFactory.createSingleReadGeneralDetailElement(parentElement);
|
55 |
|
|
}
|
56 |
|
|
|
57 |
|
|
}
|