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