p2izing the editor
[taxeditor.git] / eclipseprojects / eu.etaxonomy.taxeditor / src / eu / etaxonomy / taxeditor / editor / images / ImagesGroupComposite.java
1 // $Id$
2 /**
3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
6 *
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
9 */
10
11 package eu.etaxonomy.taxeditor.editor.images;
12
13 import org.apache.log4j.Logger;
14 import org.eclipse.swt.SWT;
15 import org.eclipse.swt.graphics.Color;
16 import org.eclipse.swt.widgets.Composite;
17
18 import eu.etaxonomy.cdm.model.taxon.Taxon;
19 import eu.etaxonomy.taxeditor.editor.GroupComposite;
20
21 /**
22 * @author p.ciardelli
23 * @created 30.03.2009
24 * @version 1.0
25 */
26 public class ImagesGroupComposite extends GroupComposite {
27 private static final Logger logger = Logger
28 .getLogger(ImagesGroupComposite.class);
29
30 private Taxon taxon;
31
32 /**
33 * @param parent
34 */
35 public ImagesGroupComposite(Composite parent, Taxon taxon) {
36 super(parent);
37
38 this.taxon = taxon;
39
40 Color groupBackgroundColor = getDisplay().getSystemColor(SWT.COLOR_WHITE);
41 setBackground(groupBackgroundColor);
42 }
43
44 public Taxon getTaxon() {
45 return taxon;
46 }
47 }