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
.group
;
13 import org
.eclipse
.swt
.events
.SelectionListener
;
14 import org
.eclipse
.swt
.graphics
.Color
;
15 import org
.springframework
.security
.core
.GrantedAuthority
;
17 import eu
.etaxonomy
.taxeditor
.ui
.element
.AbstractFormSection
;
18 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
;
19 import eu
.etaxonomy
.taxeditor
.ui
.element
.ICdmFormElement
;
20 import eu
.etaxonomy
.taxeditor
.ui
.section
.AbstractEntityCollectionElement
;
24 * @created Mar 9, 2011
27 public class GrantedAuthorityDetailElement
extends AbstractEntityCollectionElement
<GrantedAuthority
> {
33 * @param removeListener
34 * @param backgroundColor
37 public GrantedAuthorityDetailElement(CdmFormFactory formFactory
,
38 AbstractFormSection section
, GrantedAuthority entity
,
39 SelectionListener removeListener
, int style
) {
40 super(formFactory
, section
, entity
, removeListener
, null, style
);
44 * @see eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionElement#setEntity(java.lang.Object)
47 public void setEntity(GrantedAuthority entity
) {
48 // TODO Auto-generated method stub
53 * @see eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionElement#createControls(eu.etaxonomy.taxeditor.ui.forms.ICdmFormElement, int)
56 public void createControls(ICdmFormElement element
, int style
) {
57 // TODO Auto-generated method stub
62 * @see eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionElement#handleEvent(java.lang.Object)
65 public void handleEvent(Object eventSource
) {
66 // TODO Auto-generated method stub