2 * Copyright (C) 2017 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
9 package eu
.etaxonomy
.taxeditor
.workbench
.part
;
11 import org
.eclipse
.jface
.viewers
.IStructuredSelection
;
14 * This interface can be used for parts that contain a viewer
15 * and provide a selection
20 public interface IE4ViewerPart
{
23 * Gets the current selection.
24 * @return the current selection
26 public IStructuredSelection
getSelection();
29 * Refresh the parts viewer
31 public void refresh();