3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
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.
11 package eu
.etaxonomy
.taxeditor
.ui
.section
.description
;
13 import org
.eclipse
.swt
.events
.SelectionListener
;
15 import eu
.etaxonomy
.cdm
.model
.location
.NamedArea
;
16 import eu
.etaxonomy
.taxeditor
.ui
.element
.AbstractFormSection
;
17 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
;
18 import eu
.etaxonomy
.taxeditor
.ui
.element
.ICdmFormElement
;
19 import eu
.etaxonomy
.taxeditor
.ui
.section
.AbstractEntityCollectionElement
;
22 * <p>GeoScopeElement class.</p>
25 * @created Sep 17, 2010
28 public class GeoScopeElement
extends AbstractEntityCollectionElement
<NamedArea
> {
31 * <p>Constructor for GeoScopeElement.</p>
33 * @param formFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
34 * @param section a {@link eu.etaxonomy.taxeditor.ui.element.AbstractFormSection} object.
35 * @param entity a {@link eu.etaxonomy.cdm.model.location.NamedArea} object.
36 * @param removeListener a {@link org.eclipse.swt.events.SelectionListener} object.
39 public GeoScopeElement(CdmFormFactory formFactory
,
40 AbstractFormSection section
, NamedArea entity
,
41 SelectionListener removeListener
, int style
) {
42 super(formFactory
, section
, entity
, removeListener
, null, style
);
47 public void setEntity(NamedArea entity
) {
53 public void createControls(ICdmFormElement element
, int style
) {
59 public void handleEvent(Object eventSource
) {