Revision 0c5520e0
Added by Katja Luther about 6 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/TaxonNameEditorE4.java | ||
---|---|---|
384 | 384 |
public void init(TaxonEditorInputE4 input) { |
385 | 385 |
if (this.input != null){ |
386 | 386 |
this.input.dispose(); |
387 |
// this.acceptedGroup = null; |
|
388 |
// this.heterotypicSynonymGroups.clear(); |
|
389 |
// this.misappliedGroup = null; |
|
387 | 390 |
} |
388 | 391 |
if (!(input != null)) { |
389 | 392 |
MessagingUtils.error(this.getClass(), new Exception(Messages.TaxonNameEditor_INVALID_INPUT)); |
... | ... | |
514 | 517 |
/** {@inheritDoc} */ |
515 | 518 |
@Override |
516 | 519 |
public void selectionChanged(IWorkbenchPart part, ISelection selection) { |
517 |
|
|
520 |
System.err.println("Bla"); |
|
518 | 521 |
} |
519 | 522 |
|
520 | 523 |
public AbstractGroupedContainerE4 getSelectedContainer() { |
... | ... | |
593 | 596 |
} |
594 | 597 |
|
595 | 598 |
public AbstractGroupedContainerE4 getContainer(TaxonBase taxonBase) { |
596 |
List<AbstractGroupedContainerE4> groupedContainers = getGroupedContainers(); |
|
599 |
@SuppressWarnings("rawtypes") |
|
600 |
List<AbstractGroupedContainerE4> groupedContainers = getGroupedContainers(); |
|
597 | 601 |
for (AbstractGroupedContainerE4 container : groupedContainers) { |
598 | 602 |
if (container.getData().equals(taxonBase) |
599 | 603 |
&& container.getNameViewer().getTextWidget() != null) { |
Also available in: Unified diff
fix #6219: delete of synonyms is performed with save in name editor