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
.term
;
12 import java
.util
.List
;
14 import eu
.etaxonomy
.taxeditor
.model
.TaxonRelationshipTypeInverseContainer
;
15 import eu
.etaxonomy
.taxeditor
.ui
.forms
.CdmFormFactory
;
16 import eu
.etaxonomy
.taxeditor
.ui
.forms
.ICdmFormElement
;
23 public class TaxonRelationshipTypeComboElement
extends AbstractTermComboElement
<TaxonRelationshipTypeInverseContainer
> {
25 private static final int VISIBLE_ITEMS
= 10;
27 public TaxonRelationshipTypeComboElement(CdmFormFactory formFactory
,
28 ICdmFormElement parentElement
, String labelString
,
29 TaxonRelationshipTypeInverseContainer selection
,
31 super(formFactory
, parentElement
, labelString
, selection
, VISIBLE_ITEMS
, style
);
35 * @see eu.etaxonomy.taxeditor.ui.term.AbstractTermComboElement#preferredTerms()
38 protected List
preferredTerms() {
39 return getTermManager().getRelationshipTypesWithInverses();