2 * Copyright (C) 2012 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.
9 package eu
.etaxonomy
.taxeditor
.ui
.section
.group
;
11 import eu
.etaxonomy
.cdm
.model
.permission
.Group
;
12 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
;
13 import eu
.etaxonomy
.taxeditor
.ui
.element
.ICdmFormElement
;
14 import eu
.etaxonomy
.taxeditor
.ui
.selection
.EntitySelectionElement
;
17 * @author a.kohlbecker
20 public class GroupSelectionElement
extends EntitySelectionElement
<Group
> {
22 public GroupSelectionElement(CdmFormFactory formFactory
,//ConversationHolder conversation,
23 ICdmFormElement parentElement
,
24 String labelString
, Group entity
, int mode
,
26 super(formFactory
, //conversation,
27 parentElement
, Group
.class, labelString
, entity
,
32 * @see eu.etaxonomy.taxeditor.ui.selection.EntitySelectionElement#getTitle()
35 protected String
getTitle() {
36 if (getEntity() != null) {
37 return getEntity().getName();
39 return super.getTitle();