Revision 1f40607c
Added by Andreas Müller over 1 year ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/handler/DeleteAllEmptyNamesHandler.java | ||
---|---|---|
21 | 21 |
import org.eclipse.swt.widgets.Shell; |
22 | 22 |
|
23 | 23 |
import eu.etaxonomy.taxeditor.editor.name.e4.TaxonEditor; |
24 |
import eu.etaxonomy.taxeditor.editor.name.e4.container.AbstractGroupedContainerE4;
|
|
24 |
import eu.etaxonomy.taxeditor.editor.name.e4.container.AbstractGroupedContainer; |
|
25 | 25 |
|
26 | 26 |
/** |
27 | 27 |
* |
... | ... | |
41 | 41 |
|
42 | 42 |
editor = (TaxonEditor) activePart.getObject(); |
43 | 43 |
|
44 |
for(AbstractGroupedContainerE4 containerWithEmptyName : editor.getEmptyContainers()){
|
|
44 |
for(AbstractGroupedContainer containerWithEmptyName : editor.getEmptyContainers()){ |
|
45 | 45 |
editor.removeGroup(containerWithEmptyName.getGroup()); |
46 | 46 |
doExecute(menuItem.getLocalizedLabel(), shell, editor, containerWithEmptyName.getData(), sync); |
47 | 47 |
} |
Also available in: Unified diff
rename AbstractGroupedContainerE4 -> AbstractGroupedContainer and cleanup