1 |
27b59ab1
|
n.hoffmann
|
/**
|
2 |
|
|
* Copyright (C) 2007 EDIT
|
3 |
139902da
|
Patric Plitzner
|
* European Distributed Institute of Taxonomy
|
4 |
27b59ab1
|
n.hoffmann
|
* http://www.e-taxonomy.eu
|
5 |
139902da
|
Patric Plitzner
|
*
|
6 |
27b59ab1
|
n.hoffmann
|
* 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 |
f211dd28
|
n.hoffmann
|
package eu.etaxonomy.taxeditor.ui.section.classification;
|
11 |
27b59ab1
|
n.hoffmann
|
|
12 |
|
|
import org.eclipse.jface.viewers.ISelectionProvider;
|
13 |
|
|
|
14 |
|
|
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
|
15 |
|
|
import eu.etaxonomy.cdm.model.taxon.TaxonNode;
|
16 |
78222507
|
n.hoffmann
|
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
|
17 |
dacb59c9
|
Patric Plitzner
|
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
|
18 |
139902da
|
Patric Plitzner
|
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement;
|
19 |
f211dd28
|
n.hoffmann
|
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection;
|
20 |
27b59ab1
|
n.hoffmann
|
|
21 |
|
|
/**
|
22 |
3be6ef3e
|
n.hoffmann
|
* <p>TaxonNodeDetailSection class.</p>
|
23 |
|
|
*
|
24 |
27b59ab1
|
n.hoffmann
|
* @author n.hoffmann
|
25 |
|
|
* @created Sep 27, 2010
|
26 |
|
|
* @version 1.0
|
27 |
|
|
*/
|
28 |
|
|
public class TaxonNodeDetailSection extends AbstractCdmDetailSection<TaxonNode> {
|
29 |
139902da
|
Patric Plitzner
|
|
30 |
27b59ab1
|
n.hoffmann
|
/**
|
31 |
3be6ef3e
|
n.hoffmann
|
* <p>Constructor for TaxonNodeDetailSection.</p>
|
32 |
|
|
*
|
33 |
78222507
|
n.hoffmann
|
* @param formFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
|
34 |
3be6ef3e
|
n.hoffmann
|
* @param conversation a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder} object.
|
35 |
78222507
|
n.hoffmann
|
* @param parentElement a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement} object.
|
36 |
3be6ef3e
|
n.hoffmann
|
* @param selectionProvider a {@link org.eclipse.jface.viewers.ISelectionProvider} object.
|
37 |
|
|
* @param style a int.
|
38 |
27b59ab1
|
n.hoffmann
|
*/
|
39 |
|
|
public TaxonNodeDetailSection(CdmFormFactory formFactory,
|
40 |
|
|
ConversationHolder conversation, ICdmFormElement parentElement,
|
41 |
|
|
ISelectionProvider selectionProvider, int style) {
|
42 |
|
|
super(formFactory, conversation, parentElement, selectionProvider, style);
|
43 |
|
|
}
|
44 |
|
|
|
45 |
|
|
/* (non-Javadoc)
|
46 |
|
|
* @see eu.etaxonomy.taxeditor.section.AbstractCdmDetailSection#getHeading()
|
47 |
|
|
*/
|
48 |
3be6ef3e
|
n.hoffmann
|
/** {@inheritDoc} */
|
49 |
27b59ab1
|
n.hoffmann
|
@Override
|
50 |
|
|
public String getHeading() {
|
51 |
|
|
return null;
|
52 |
|
|
}
|
53 |
139902da
|
Patric Plitzner
|
|
54 |
|
|
/* (non-Javadoc)
|
55 |
|
|
* @see eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection#createCdmDetailElement(eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection, int)
|
56 |
|
|
*/
|
57 |
|
|
@Override
|
58 |
|
|
protected AbstractCdmDetailElement createCdmDetailElement(AbstractCdmDetailSection<TaxonNode> parentElement, int style) {
|
59 |
|
|
//FIXME generic
|
60 |
07e50557
|
Katja Luther
|
return formFactory.createTaxonNodeDetailElement(parentElement, false);
|
61 |
139902da
|
Patric Plitzner
|
}
|
62 |
27b59ab1
|
n.hoffmann
|
}
|