Project

General

Profile

Download (841 Bytes) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2007 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9

    
10
package eu.etaxonomy.taxeditor.navigation.navigator.e4.handler;
11

    
12
import javax.inject.Named;
13

    
14
import org.eclipse.e4.ui.model.application.ui.basic.MPart;
15
import org.eclipse.e4.ui.services.IServiceConstants;
16

    
17
import eu.etaxonomy.taxeditor.navigation.navigator.e4.TaxonNavigatorE4;
18

    
19
/**
20
 *
21
 * @author pplitzner
22
 * @date 05.09.2017
23
 *
24
 */
25
public class RefreshTreeHandlerE4 {
26

    
27
    public void execute(@Named(IServiceConstants.ACTIVE_PART)MPart activePart) {
28

    
29
        TaxonNavigatorE4 taxonNavigator = (TaxonNavigatorE4) activePart.getObject();
30

    
31
        taxonNavigator.refresh();
32
	}
33
}
(10-10/11)