1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2007 EDIT
|
4
|
* European Distributed Institute of Taxonomy
|
5
|
* http://www.e-taxonomy.eu
|
6
|
*
|
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.
|
9
|
*/
|
10
|
|
11
|
package eu.etaxonomy.taxeditor.ui.section.group;
|
12
|
|
13
|
import org.eclipse.swt.events.SelectionListener;
|
14
|
import org.springframework.security.core.GrantedAuthority;
|
15
|
|
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;
|
20
|
|
21
|
/**
|
22
|
* @author n.hoffmann
|
23
|
* @created Mar 9, 2011
|
24
|
* @version 1.0
|
25
|
*/
|
26
|
public class GrantedAuthorityDetailElement extends AbstractEntityCollectionElement<GrantedAuthority> {
|
27
|
|
28
|
/**
|
29
|
* @param formFactory
|
30
|
* @param section
|
31
|
* @param entity
|
32
|
* @param removeListener
|
33
|
* @param backgroundColor
|
34
|
* @param style
|
35
|
*/
|
36
|
public GrantedAuthorityDetailElement(CdmFormFactory formFactory,
|
37
|
AbstractFormSection section, GrantedAuthority entity,
|
38
|
SelectionListener removeListener, int style) {
|
39
|
super(formFactory, section, entity, removeListener, null, style);
|
40
|
}
|
41
|
|
42
|
/* (non-Javadoc)
|
43
|
* @see eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionElement#setEntity(java.lang.Object)
|
44
|
*/
|
45
|
@Override
|
46
|
public void setEntity(GrantedAuthority entity) {
|
47
|
// TODO Auto-generated method stub
|
48
|
|
49
|
}
|
50
|
|
51
|
/* (non-Javadoc)
|
52
|
* @see eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionElement#createControls(eu.etaxonomy.taxeditor.ui.forms.ICdmFormElement, int)
|
53
|
*/
|
54
|
@Override
|
55
|
public void createControls(ICdmFormElement element, int style) {
|
56
|
// TODO Auto-generated method stub
|
57
|
|
58
|
}
|
59
|
|
60
|
/* (non-Javadoc)
|
61
|
* @see eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionElement#handleEvent(java.lang.Object)
|
62
|
*/
|
63
|
@Override
|
64
|
public void handleEvent(Object eventSource) {
|
65
|
// TODO Auto-generated method stub
|
66
|
|
67
|
}
|
68
|
|
69
|
|
70
|
}
|