1 |
729887cf
|
n.hoffmann
|
/**
|
2 |
|
|
* Copyright (C) 2007 EDIT
|
3 |
139902da
|
Patric Plitzner
|
* European Distributed Institute of Taxonomy
|
4 |
729887cf
|
n.hoffmann
|
* http://www.e-taxonomy.eu
|
5 |
139902da
|
Patric Plitzner
|
*
|
6 |
729887cf
|
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 |
f211dd28
|
n.hoffmann
|
package eu.etaxonomy.taxeditor.ui.section.agent;
|
10 |
729887cf
|
n.hoffmann
|
|
11 |
|
|
import org.eclipse.jface.viewers.ISelectionProvider;
|
12 |
|
|
|
13 |
2d9a13f7
|
n.hoffmann
|
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
|
14 |
729887cf
|
n.hoffmann
|
import eu.etaxonomy.cdm.model.agent.Person;
|
15 |
78222507
|
n.hoffmann
|
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
|
16 |
dacb59c9
|
Patric Plitzner
|
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
|
17 |
139902da
|
Patric Plitzner
|
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement;
|
18 |
f211dd28
|
n.hoffmann
|
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection;
|
19 |
729887cf
|
n.hoffmann
|
|
20 |
|
|
/**
|
21 |
3be6ef3e
|
n.hoffmann
|
* <p>PersonDetailSection class.</p>
|
22 |
|
|
*
|
23 |
729887cf
|
n.hoffmann
|
* @author n.hoffmann
|
24 |
|
|
* @created Mar 8, 2010
|
25 |
|
|
*/
|
26 |
|
|
public class PersonDetailSection extends AbstractCdmDetailSection<Person>{
|
27 |
|
|
|
28 |
2d9a13f7
|
n.hoffmann
|
public PersonDetailSection(CdmFormFactory cdmFormFactory, ConversationHolder conversation, ICdmFormElement parentElement,
|
29 |
729887cf
|
n.hoffmann
|
ISelectionProvider selectionProvider, int style) {
|
30 |
2d9a13f7
|
n.hoffmann
|
super(cdmFormFactory, conversation, parentElement, selectionProvider, style);
|
31 |
729887cf
|
n.hoffmann
|
}
|
32 |
|
|
|
33 |
|
|
@Override
|
34 |
139902da
|
Patric Plitzner
|
public String getHeading() {
|
35 |
|
|
return "Person";
|
36 |
729887cf
|
n.hoffmann
|
}
|
37 |
|
|
|
38 |
|
|
@Override
|
39 |
139902da
|
Patric Plitzner
|
protected AbstractCdmDetailElement<Person> createCdmDetailElement(AbstractCdmDetailSection<Person> parentElement, int style) {
|
40 |
|
|
return formFactory.createPersonDetailElement(parentElement, style);
|
41 |
729887cf
|
n.hoffmann
|
}
|
42 |
4e34a1f2
|
Katja Luther
|
|
43 |
|
|
|
44 |
729887cf
|
n.hoffmann
|
}
|