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.eclipse.swt.graphics.Color;
|
15
|
import org.springframework.security.core.GrantedAuthority;
|
16
|
|
17
|
import eu.etaxonomy.taxeditor.ui.forms.AbstractFormSection;
|
18
|
import eu.etaxonomy.taxeditor.ui.forms.CdmFormFactory;
|
19
|
import eu.etaxonomy.taxeditor.ui.forms.ICdmFormElement;
|
20
|
import eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionElement;
|
21
|
|
22
|
/**
|
23
|
* @author n.hoffmann
|
24
|
* @created Mar 9, 2011
|
25
|
* @version 1.0
|
26
|
*/
|
27
|
public class GrantedAuthorityDetailElement extends AbstractEntityCollectionElement<GrantedAuthority> {
|
28
|
|
29
|
/**
|
30
|
* @param formFactory
|
31
|
* @param section
|
32
|
* @param entity
|
33
|
* @param removeListener
|
34
|
* @param backgroundColor
|
35
|
* @param style
|
36
|
*/
|
37
|
public GrantedAuthorityDetailElement(CdmFormFactory formFactory,
|
38
|
AbstractFormSection section, GrantedAuthority entity,
|
39
|
SelectionListener removeListener, int style) {
|
40
|
super(formFactory, section, entity, removeListener, null, style);
|
41
|
}
|
42
|
|
43
|
/* (non-Javadoc)
|
44
|
* @see eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionElement#setEntity(java.lang.Object)
|
45
|
*/
|
46
|
@Override
|
47
|
public void setEntity(GrantedAuthority entity) {
|
48
|
// TODO Auto-generated method stub
|
49
|
|
50
|
}
|
51
|
|
52
|
/* (non-Javadoc)
|
53
|
* @see eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionElement#createControls(eu.etaxonomy.taxeditor.ui.forms.ICdmFormElement, int)
|
54
|
*/
|
55
|
@Override
|
56
|
public void createControls(ICdmFormElement element, int style) {
|
57
|
// TODO Auto-generated method stub
|
58
|
|
59
|
}
|
60
|
|
61
|
/* (non-Javadoc)
|
62
|
* @see eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionElement#handleEvent(java.lang.Object)
|
63
|
*/
|
64
|
@Override
|
65
|
public void handleEvent(Object eventSource) {
|
66
|
// TODO Auto-generated method stub
|
67
|
|
68
|
}
|
69
|
|
70
|
|
71
|
}
|