Project

General

Profile

« Previous | Next » 

Revision e387912f

Added by Patrick Plitzner over 8 years ago

Trim code

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/description/DescriptionElementSourceElement.java
1 1
// $Id$
2 2
/**
3 3
 * Copyright (C) 2007 EDIT
4
 * European Distributed Institute of Taxonomy 
4
 * European Distributed Institute of Taxonomy
5 5
 * http://www.e-taxonomy.eu
6
 * 
6
 *
7 7
 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 8
 * See LICENSE.TXT at the top of this package for the full license terms.
9 9
 */
......
23 23
import eu.etaxonomy.taxeditor.ui.selection.EntitySelectionElement;
24 24

  
25 25
/**
26
 * <p>
27
 * DescriptionElementSourceElement class.
28
 * </p>
29
 * 
26
 *
30 27
 * @author n.hoffmann
31 28
 * @created Nov 16, 2009
32 29
 * @version 1.0
33
 * @param <T>
34 30
 */
35 31
public class DescriptionElementSourceElement extends
36 32
		AbstractOriginalSourceElement<DescriptionElementSource> implements
......
38 34

  
39 35
	private EntitySelectionElement<TaxonNameBase> selection_name;
40 36

  
41
	/**
42
	 * <p>
43
	 * Constructor for DescriptionElementSourceElement.
44
	 * </p>
45
	 * 
46
	 * @param formElement
47
	 *            a {@link eu.etaxonomy.taxeditor.ui.element.AbstractFormSection}
48
	 *            object.
49
	 * @param element
50
	 *            a
51
	 *            {@link eu.etaxonomy.cdm.model.common.DescriptionElementSource}
52
	 *            object.
53
	 * @param removeListener
54
	 *            a {@link org.eclipse.swt.events.SelectionListener} object.
55
	 * @param style
56
	 *            a int.
57
	 * @param cdmFormFactory
58
	 *            a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory}
59
	 *            object.
60
	 */
61 37
	public DescriptionElementSourceElement(CdmFormFactory cdmFormFactory,
62 38
			AbstractFormSection formElement, DescriptionElementSource element,
63 39
			SelectionListener removeListener, int style) {
......
65 41
		formFactory.createSelectionArbitrator(this);
66 42
	}
67 43

  
68
	/*
69
	 * (non-Javadoc)
70
	 * 
71
	 * @see eu.etaxonomy.taxeditor.forms.entitysections.OriginalSourceComposite#
72
	 * createControls(org.eclipse.swt.widgets.Composite, int)
73
	 */
74 44
	/** {@inheritDoc} */
75 45
	@Override
76 46
	public void createControls(ICdmFormElement formElement, int style) {
......
81 51
						null, EntitySelectionElement.ALL, SWT.NULL);
82 52
	}
83 53

  
84
	/*
85
	 * (non-Javadoc)
86
	 * 
87
	 * @see
88
	 * eu.etaxonomy.taxeditor.forms.section.cdmdetail.AbstractOriginalSourceElement
89
	 * #setElement(eu.etaxonomy.cdm.model.common.OriginalSourceBase)
90
	 */
91 54
	/** {@inheritDoc} */
92 55
	@Override
93 56
	public void setEntity(DescriptionElementSource entity) {
......
108 71

  
109 72
	}
110 73

  
111
	/*
112
	 * (non-Javadoc)
113
	 * 
114
	 * @see
115
	 * eu.etaxonomy.taxeditor.section.AbstractEntityCollectionElement#handleEvent
116
	 * (java.lang.Object)
117
	 */
118 74
	/** {@inheritDoc} */
119 75
	@Override
120 76
	public void handleEvent(Object eventSource) {

Also available in: Unified diff