Revision c918301b
Added by Katja Luther about 10 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/handler/DeleteHandler.java | ||
---|---|---|
47 | 47 |
*/ |
48 | 48 |
public class DeleteHandler extends AbstractHandler implements IHandler{ |
49 | 49 |
|
50 |
private IWorkbenchPage activePage;
|
|
51 |
private TaxonNavigator taxonNavigator;
|
|
50 |
protected IWorkbenchPage activePage;
|
|
51 |
protected TaxonNavigator taxonNavigator;
|
|
52 | 52 |
|
53 | 53 |
/** {@inheritDoc} */ |
54 | 54 |
@Override |
... | ... | |
137 | 137 |
return null; |
138 | 138 |
} |
139 | 139 |
|
140 |
private boolean closeObsoleteEditor(TaxonNode taxonNode){
|
|
140 |
protected boolean closeObsoleteEditor(TaxonNode taxonNode){
|
|
141 | 141 |
boolean result = true; |
142 | 142 |
for (IEditorReference ref : activePage.getEditorReferences()) { |
143 | 143 |
try { |
Also available in: Unified diff
move the change accepted to Synonym Operation to taxon navigator.