Project

General

Profile

Download (1.78 KB) Statistics
| Branch: | Tag: | Revision:
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.forms.selection;
12

    
13
import org.apache.log4j.Logger;
14
import org.eclipse.swt.events.SelectionEvent;
15

    
16
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
17
import eu.etaxonomy.cdm.model.agent.Institution;
18
import eu.etaxonomy.taxeditor.forms.CdmFormFactory;
19
import eu.etaxonomy.taxeditor.forms.ICdmFormElement;
20

    
21
/**
22
 * <p>InstitutionSelectionElement class.</p>
23
 *
24
 * @author n.hoffmann
25
 * @created Nov 17, 2009
26
 * @version 1.0
27
 */
28
public class InstitutionSelectionElement extends
29
		AbstractSelectionElement<Institution> {
30

    
31

    
32
	private static final Logger logger = Logger
33
			.getLogger(InstitutionSelectionElement.class);
34
	
35
	/**
36
	 * <p>Constructor for InstitutionSelectionElement.</p>
37
	 *
38
	 * @param labelString a {@link java.lang.String} object.
39
	 * @param selection a {@link eu.etaxonomy.cdm.model.agent.Institution} object.
40
	 * @param style a int.
41
	 * @param toolkit a {@link eu.etaxonomy.taxeditor.forms.CdmFormFactory} object.
42
	 * @param conversation a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder} object.
43
	 * @param parentElement a {@link eu.etaxonomy.taxeditor.forms.ICdmFormElement} object.
44
	 */
45
	public InstitutionSelectionElement(CdmFormFactory toolkit, ConversationHolder conversation, ICdmFormElement parentElement, String labelString,
46
			Institution selection, int style) {
47
		super(toolkit, conversation, parentElement, labelString, selection, true, true, true, style);
48
	}
49

    
50
	/** {@inheritDoc} */
51
	public void widgetSelected(SelectionEvent e) {
52
		// TODO Auto-generated method stub
53
		
54
	}
55
}
(9-9/17)