p2izing the editor
[taxeditor.git] / eclipseprojects / eu.etaxonomy.taxeditor / src / eu / etaxonomy / taxeditor / editor / description / DescriptionGroupComposite.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.description;
11
12 import org.apache.log4j.Logger;
13 import org.eclipse.swt.widgets.Composite;
14
15 import eu.etaxonomy.cdm.model.description.TaxonDescription;
16 import eu.etaxonomy.cdm.model.taxon.Taxon;
17 import eu.etaxonomy.taxeditor.editor.GroupComposite;
18
19 /**
20 * @author p.ciardelli
21 * @created 13.01.2009
22 * @version 1.0
23 */
24 public class DescriptionGroupComposite extends GroupComposite {
25 private static final Logger logger = Logger
26 .getLogger(DescriptionGroupComposite.class);
27
28 private Taxon taxon;
29 private TaxonDescription description;
30
31 public DescriptionGroupComposite(Composite parent, Taxon taxon,
32 TaxonDescription description) {
33
34 super(parent);
35
36 this.taxon = taxon;
37 this.description = description;
38 }
39
40 public Taxon getTaxon() {
41 return taxon;
42 }
43
44 public TaxonDescription getDescription() {
45 return description;
46 }
47 }