2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.taxeditor
.ui
.section
.description
;
12 import org
.eclipse
.swt
.events
.SelectionListener
;
14 import eu
.etaxonomy
.cdm
.model
.location
.NamedArea
;
15 import eu
.etaxonomy
.taxeditor
.ui
.element
.AbstractFormSection
;
16 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
;
17 import eu
.etaxonomy
.taxeditor
.ui
.element
.ICdmFormElement
;
18 import eu
.etaxonomy
.taxeditor
.ui
.section
.AbstractEntityCollectionElement
;
21 * <p>GeoScopeElement class.</p>
24 * @created Sep 17, 2010
27 public class GeoScopeElement
extends AbstractEntityCollectionElement
<NamedArea
> {
30 * <p>Constructor for GeoScopeElement.</p>
32 * @param formFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
33 * @param section a {@link eu.etaxonomy.taxeditor.ui.element.AbstractFormSection} object.
34 * @param entity a {@link eu.etaxonomy.cdm.model.location.NamedArea} object.
35 * @param removeListener a {@link org.eclipse.swt.events.SelectionListener} object.
38 public GeoScopeElement(CdmFormFactory formFactory
,
39 AbstractFormSection section
, NamedArea entity
,
40 SelectionListener removeListener
, int style
) {
41 super(formFactory
, section
, entity
, removeListener
, null, style
);
46 public void setEntity(NamedArea entity
) {
52 public void createControls(ICdmFormElement element
, int style
) {
58 public void handleEvent(Object eventSource
) {