Project

General

Profile

« Previous | Next » 

Revision eb00c1c9

Added by Andreas Müller over 10 years ago

fix delete problem for open MultiPageEditors

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/taxon/TaxonBaseDetailElement.java
56 56
	 * </p>
57 57
	 *
58 58
	 * @param cdmFormFactory
59
	 *            a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory}
60
	 *            object.
59
	 *        a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
61 60
	 * @param formElement
62
	 *            a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement}
63
	 *            object.
61
	 *        a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement} object.
64 62
	 * @param style
65
	 *            a int.
63
	 *        a int.
66 64
	 */
67 65
	public TaxonBaseDetailElement(CdmFormFactory cdmFormFactory,
68 66
			ICdmFormElement formElement, int style) {
......
95 93
			checkbox_unplaced = formFactory.createCheckbox(formElement,
96 94
					"Taxon is unplaced", ((Taxon) entity).isUnplaced(), style);
97 95
		}
96
		
97
		checkbox_doubtful = formFactory.createCheckbox(formElement,
98
				entity.getClass().getSimpleName() + " is doubtful", entity.isDoubtful(), style);
99
		
98 100
		checkbox_published = formFactory.createCheckbox(formElement,
99 101
		        "Taxon is published", ((Taxon) entity).isPublish(), style);
100 102

  
101
		checkbox_doubtful = formFactory.createCheckbox(formElement,
102
				entity.getClass().getSimpleName() + " is doubtful", entity.isDoubtful(), style);
103 103
	}
104 104

  
105 105
	/** {@inheritDoc} */

Also available in: Unified diff