Revision d607cf23
Added by Katja Luther over 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/classification/TaxonNodeDetailElement.java | ||
---|---|---|
68 | 68 |
|
69 | 69 |
private TaxonNodeAgentRelationCollectionSection selectionNodeAgentRelation; |
70 | 70 |
|
71 |
private CheckboxElement checkbox_openInEditor; |
|
71 |
// private CheckboxElement checkbox_openInEditor;
|
|
72 | 72 |
|
73 | 73 |
private CheckboxElement checkbox_unplaced; |
74 | 74 |
|
... | ... | |
79 | 79 |
|
80 | 80 |
private MultilanguageTextElement multiLanguageTextExcludedNotes; |
81 | 81 |
|
82 |
private boolean openInEditor; |
|
82 |
// private boolean openInEditor;
|
|
83 | 83 |
|
84 | 84 |
private boolean complete; |
85 | 85 |
|
... | ... | |
212 | 212 |
selectionNodeAgentRelation.setEntity((TaxonNode)entity); |
213 | 213 |
selectionNodeAgentRelation.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1)); |
214 | 214 |
} |
215 |
checkbox_openInEditor = formFactory.createCheckbox(formElement, |
|
216 |
"Open in Editor", true, style); |
|
217 |
setOpenInEditor(true); |
|
215 |
// checkbox_openInEditor = formFactory.createCheckbox(formElement,
|
|
216 |
// "Open in Editor", true, style);
|
|
217 |
// setOpenInEditor(true);
|
|
218 | 218 |
} |
219 | 219 |
|
220 | 220 |
private void preFillTaxonName() { |
... | ... | |
308 | 308 |
|
309 | 309 |
complete = CdmUtils.isNotBlank(textNewTaxonName.getText()); |
310 | 310 |
} |
311 |
if (eventSource == checkbox_openInEditor) { |
|
312 |
setOpenInEditor(checkbox_openInEditor.getSelection()); |
|
313 |
} |
|
311 |
// if (eventSource == checkbox_openInEditor) {
|
|
312 |
// setOpenInEditor(checkbox_openInEditor.getSelection());
|
|
313 |
// }
|
|
314 | 314 |
if (eventSource == selectionNodeAgentRelation){ |
315 | 315 |
boolean allComplete = true; |
316 | 316 |
for (ICdmFormElement element : selectionNodeAgentRelation.getElements()){ |
... | ... | |
324 | 324 |
return classification; |
325 | 325 |
} |
326 | 326 |
|
327 |
public boolean isOpenInEditor() { |
|
328 |
return openInEditor; |
|
329 |
} |
|
327 |
// public boolean isOpenInEditor() {
|
|
328 |
// return openInEditor;
|
|
329 |
// }
|
|
330 | 330 |
|
331 | 331 |
public ITaxonTreeNode getParentTreeNode() { |
332 | 332 |
return parentTreeNode; |
... | ... | |
402 | 402 |
} |
403 | 403 |
} |
404 | 404 |
|
405 |
private void setOpenInEditor(boolean openInEditor) { |
|
406 |
this.openInEditor = openInEditor; |
|
407 |
} |
|
405 |
// private void setOpenInEditor(boolean openInEditor) {
|
|
406 |
// this.openInEditor = openInEditor;
|
|
407 |
// }
|
|
408 | 408 |
|
409 | 409 |
public String getTaxonName() { |
410 | 410 |
return textNewTaxonName.getText(); |
Also available in: Unified diff
fix #7794: add finish and open button to taxonnode wizard