3 * Copyright (C) 2009 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.
10 package eu
.etaxonomy
.taxeditor
.ui
.section
.vocabulary
;
12 import eu
.etaxonomy
.cdm
.model
.common
.DefinedTermBase
;
13 import eu
.etaxonomy
.cdm
.model
.common
.Language
;
14 import eu
.etaxonomy
.cdm
.model
.common
.Representation
;
15 import eu
.etaxonomy
.cdm
.model
.common
.TermVocabulary
;
16 import eu
.etaxonomy
.taxeditor
.store
.CdmStore
;
17 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
;
18 import eu
.etaxonomy
.taxeditor
.ui
.element
.ICdmFormElement
;
25 public class DefinedTermDetailElement
<T
extends DefinedTermBase
> extends AbstractTermBaseDetailElement
<T
> {
31 public DefinedTermDetailElement(CdmFormFactory formFactory
,
32 ICdmFormElement formElement
) {
33 super(formFactory
, formElement
);
37 * @see eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement#handleEvent(java.lang.Object)
40 public void handleEvent(Object eventSource
) {
41 handleRepresentation(eventSource
);
45 * @see eu.etaxonomy.taxeditor.ui.section.vocabulary.AbstractTermBaseDetailElement#getVocabularyMarkers()
48 public TermVocabulary
getVocabulary() {
49 return getEntity() != null ?
getEntity().getVocabulary() : null;