Revision 972ecc88
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/key/polytomous/handler/RefreshPolytomousKeyListHandler.java | ||
---|---|---|
1 | 1 |
/** |
2 | 2 |
* Copyright (C) 2007 EDIT |
3 |
* European Distributed Institute of Taxonomy
|
|
3 |
* European Distributed Institute of Taxonomy |
|
4 | 4 |
* http://www.e-taxonomy.eu |
5 |
*
|
|
5 |
* |
|
6 | 6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
7 | 7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
8 | 8 |
*/ |
... | ... | |
14 | 14 |
import org.eclipse.core.commands.ExecutionException; |
15 | 15 |
import org.eclipse.core.commands.IHandler; |
16 | 16 |
|
17 |
import eu.etaxonomy.taxeditor.navigation.NavigationUtil; |
|
18 |
import eu.etaxonomy.taxeditor.navigation.key.polytomous.PolytomousKeyViewPart; |
|
19 |
|
|
20 | 17 |
|
21 | 18 |
/** |
22 | 19 |
* <p>Handler class which Refreshes each key node in the polytomous key navigation view</p> |
... | ... | |
31 | 28 |
* @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent) |
32 | 29 |
*/ |
33 | 30 |
/** {@inheritDoc} */ |
31 |
@Override |
|
34 | 32 |
public Object execute(ExecutionEvent event) throws ExecutionException { |
35 |
PolytomousKeyViewPart view = (PolytomousKeyViewPart) NavigationUtil.getView(PolytomousKeyViewPart.ID, false);
|
|
36 |
view.refresh(); |
|
33 |
// PolytomousKeyViewPart view = (PolytomousKeyViewPart) NavigationUtil.getView(PolytomousKeyViewPart.ID, false);
|
|
34 |
// view.refresh();
|
|
37 | 35 |
return null; |
38 | 36 |
} |
39 | 37 |
} |
Also available in: Unified diff
ref #6913 Remove org.eclipse.ui dependency from AbstractUtility