Project

General

Profile

« Previous | Next » 

Revision 3be6ef3e

Added by Niels Hoffmann over 13 years ago

performed javacscript:fix and worked on documentation

View differences:

taxeditor-editor/src/main/java/eu/etaxonomy/taxeditor/section/description/StatisticalMeasurementValueElement.java
25 25
import eu.etaxonomy.taxeditor.section.AbstractEntityCollectionElement;
26 26

  
27 27
/**
28
 * <p>StatisticalMeasurementValueElement class.</p>
29
 *
28 30
 * @author n.hoffmann
29 31
 * @created Sep 15, 2010
30 32
 * @version 1.0
......
39 41
	private StatisticalMeasureComboElement combo_type;
40 42
	private ModifierSection section_modifiers;
41 43

  
44
	/**
45
	 * <p>Constructor for StatisticalMeasurementValueElement.</p>
46
	 *
47
	 * @param formFactory a {@link eu.etaxonomy.taxeditor.forms.CdmFormFactory} object.
48
	 * @param section a {@link eu.etaxonomy.taxeditor.forms.AbstractFormSection} object.
49
	 * @param entity a {@link eu.etaxonomy.cdm.model.description.StatisticalMeasurementValue} object.
50
	 * @param removeListener a {@link org.eclipse.swt.events.SelectionListener} object.
51
	 * @param style a int.
52
	 */
42 53
	public StatisticalMeasurementValueElement(CdmFormFactory formFactory,
43 54
			AbstractFormSection section, StatisticalMeasurementValue entity,
44 55
			SelectionListener removeListener, int style) {
45 56
		super(formFactory, section, entity, removeListener, null, style);
46 57
	}
47 58
	
59
	/** {@inheritDoc} */
48 60
	@Override
49 61
	public void setEntity(StatisticalMeasurementValue entity) {
50 62
		this.entity = entity;
......
53 65
		section_modifiers.setEntity(entity);
54 66
	}
55 67

  
68
	/** {@inheritDoc} */
56 69
	@Override
57 70
	public void createControls(ICdmFormElement element, int style) {
58 71
		number_value = formFactory.createFloatTextWithLabelElement(element, "Value", 0, style);
......
61 74
		section_modifiers.setLayoutData(CdmFormFactory.FILL_HORIZONTALLY(2, 1));
62 75
	}
63 76

  
77
	/** {@inheritDoc} */
64 78
	@Override
65 79
	public void handleEvent(Object eventSource) {
66 80
		if(eventSource == number_value){

Also available in: Unified diff