1 |
cfcb0ce6
|
n.hoffmann
|
/**
|
2 |
|
|
* Copyright (C) 2007 EDIT
|
3 |
3831e623
|
Alexander Oppermann
|
* European Distributed Institute of Taxonomy
|
4 |
cfcb0ce6
|
n.hoffmann
|
* http://www.e-taxonomy.eu
|
5 |
3831e623
|
Alexander Oppermann
|
*
|
6 |
cfcb0ce6
|
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 |
|
|
|
10 |
f211dd28
|
n.hoffmann
|
package eu.etaxonomy.taxeditor.ui.section.description;
|
11 |
cfcb0ce6
|
n.hoffmann
|
|
12 |
|
|
import org.eclipse.swt.events.SelectionListener;
|
13 |
|
|
|
14 |
|
|
import eu.etaxonomy.cdm.model.location.NamedArea;
|
15 |
78222507
|
n.hoffmann
|
import eu.etaxonomy.taxeditor.ui.element.AbstractFormSection;
|
16 |
|
|
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
|
17 |
dacb59c9
|
Patric Plitzner
|
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
|
18 |
f211dd28
|
n.hoffmann
|
import eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionElement;
|
19 |
cfcb0ce6
|
n.hoffmann
|
|
20 |
|
|
/**
|
21 |
3be6ef3e
|
n.hoffmann
|
* <p>GeoScopeElement class.</p>
|
22 |
|
|
*
|
23 |
cfcb0ce6
|
n.hoffmann
|
* @author n.hoffmann
|
24 |
|
|
* @created Sep 17, 2010
|
25 |
|
|
* @version 1.0
|
26 |
|
|
*/
|
27 |
|
|
public class GeoScopeElement extends AbstractEntityCollectionElement<NamedArea> {
|
28 |
|
|
|
29 |
3be6ef3e
|
n.hoffmann
|
/**
|
30 |
|
|
* <p>Constructor for GeoScopeElement.</p>
|
31 |
|
|
*
|
32 |
78222507
|
n.hoffmann
|
* @param formFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
|
33 |
|
|
* @param section a {@link eu.etaxonomy.taxeditor.ui.element.AbstractFormSection} object.
|
34 |
3be6ef3e
|
n.hoffmann
|
* @param entity a {@link eu.etaxonomy.cdm.model.location.NamedArea} object.
|
35 |
|
|
* @param removeListener a {@link org.eclipse.swt.events.SelectionListener} object.
|
36 |
|
|
* @param style a int.
|
37 |
|
|
*/
|
38 |
cfcb0ce6
|
n.hoffmann
|
public GeoScopeElement(CdmFormFactory formFactory,
|
39 |
|
|
AbstractFormSection section, NamedArea entity,
|
40 |
|
|
SelectionListener removeListener, int style) {
|
41 |
|
|
super(formFactory, section, entity, removeListener, null, style);
|
42 |
|
|
}
|
43 |
3831e623
|
Alexander Oppermann
|
|
44 |
3be6ef3e
|
n.hoffmann
|
/** {@inheritDoc} */
|
45 |
cfcb0ce6
|
n.hoffmann
|
@Override
|
46 |
|
|
public void setEntity(NamedArea entity) {
|
47 |
3831e623
|
Alexander Oppermann
|
|
48 |
cfcb0ce6
|
n.hoffmann
|
}
|
49 |
|
|
|
50 |
3be6ef3e
|
n.hoffmann
|
/** {@inheritDoc} */
|
51 |
cfcb0ce6
|
n.hoffmann
|
@Override
|
52 |
|
|
public void createControls(ICdmFormElement element, int style) {
|
53 |
3831e623
|
Alexander Oppermann
|
|
54 |
cfcb0ce6
|
n.hoffmann
|
}
|
55 |
|
|
|
56 |
3be6ef3e
|
n.hoffmann
|
/** {@inheritDoc} */
|
57 |
cfcb0ce6
|
n.hoffmann
|
@Override
|
58 |
3831e623
|
Alexander Oppermann
|
public void handleEvent(Object eventSource) {
|
59 |
cfcb0ce6
|
n.hoffmann
|
}
|
60 |
3831e623
|
Alexander Oppermann
|
|
61 |
|
|
|
62 |
cfcb0ce6
|
n.hoffmann
|
}
|