New testing release.
[taxeditor.git] / taxeditor-editor / src / main / java / eu / etaxonomy / taxeditor / editor / IFreeTextElementFactory.java
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.editor;
11
12 import org.eclipse.swt.widgets.Composite;
13
14 import eu.etaxonomy.cdm.model.name.HomotypicalGroup;
15 import eu.etaxonomy.cdm.model.taxon.Synonym;
16 import eu.etaxonomy.cdm.model.taxon.Taxon;
17 import eu.etaxonomy.cdm.model.taxon.TaxonRelationship;
18 import eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor;
19
20 /**
21 * @author p.ciardelli
22 * @created 08.01.2009
23 * @version 1.0
24 */
25 public interface IFreeTextElementFactory {
26
27 /* Taxon name editor elements */
28 public Composite createAcceptedTaxon(AbstractTaxonEditor editor);
29
30 public Composite createSynonym(TaxonNameEditor editor, Synonym synonym);
31
32 public Composite createMisappliedName(TaxonNameEditor editor, Taxon misappliedName);
33
34 public Composite createHomotypicalGroup(AbstractTaxonEditor editor, HomotypicalGroup group);
35
36 public Composite createMisappliedGroup(TaxonNameEditor editor);
37
38 public Composite createConceptGroup(TaxonNameEditor editor);
39
40 public Composite createConcept(TaxonNameEditor editor, TaxonRelationship relationship);
41 }