Merge branch 'release/4.9.0'
[taxeditor.git] / eu.etaxonomy.taxeditor.workbench / src / main / java / eu / etaxonomy / taxeditor / workbench / part / IE4ViewerPart.java
1 /**
2 * Copyright (C) 2017 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 package eu.etaxonomy.taxeditor.workbench.part;
10
11 import org.eclipse.jface.viewers.IStructuredSelection;
12
13 /**
14 * This interface can be used for parts that contain a viewer
15 * and provide a selection
16 * @author pplitzner
17 * @since Jul 14, 2017
18 *
19 */
20 public interface IE4ViewerPart {
21
22 /**
23 * Gets the current selection.
24 * @return the current selection
25 */
26 public IStructuredSelection getSelection();
27
28 /**
29 * Refresh the parts viewer
30 */
31 public void refresh();
32
33 }