Project

General

Profile

« Previous | Next » 

Revision 4f57e9bf

Added by Patrick Plitzner over 6 years ago

ref #6205 Move excluded notes to the bottom of the wizard

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/classification/TaxonNodeDetailElement.java
123 123
		if (entity instanceof TaxonNode) {
124 124
		    checkbox_unplaced = formFactory.createCheckbox(formElement,
125 125
		            "Taxon is unplaced", ((TaxonNode) entity).isUnplaced(), style);
126
		    checkbox_excluded = formFactory.createCheckbox(formElement,
127
		            "Taxon is excluded", ((TaxonNode) entity).isExcluded(), style);
128
		    multiLanguageTextExcludedNotes = formFactory.createMultiLanguageTextElement(formElement, "Excluded Notes", ((TaxonNode)entity).getExcludedNote(), 50, style);
129
		    multiLanguageTextExcludedNotes.setEnabled(((TaxonNode) entity).isExcluded());
130 126
		}
131 127

  
132 128
		if (!isCreateNew()){
......
138 134
		checkbox_openInEditor = formFactory.createCheckbox(formElement,
139 135
				"Open in Editor", true, style);
140 136
		setOpenInEditor(true);
137

  
138
		if (entity instanceof TaxonNode) {
139
		    checkbox_excluded = formFactory.createCheckbox(formElement,
140
		            "Taxon is excluded", ((TaxonNode) entity).isExcluded(), style);
141
		    multiLanguageTextExcludedNotes = formFactory.createMultiLanguageTextElement(formElement, "Excluded Notes", ((TaxonNode)entity).getExcludedNote(), 50, style);
142
		    multiLanguageTextExcludedNotes.setEnabled(((TaxonNode) entity).isExcluded());
143
		}
141 144
	}
142 145

  
143 146
	private void preFillTaxonName() {

Also available in: Unified diff