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.core.runtime.IProgressMonitor;
|
12
|
|
13
|
/**
|
14
|
* This interface is used to be able to save a part when it is providing
|
15
|
* an element which is edited in another part.
|
16
|
*
|
17
|
* <br>
|
18
|
* This interface is used as a temporary workaround during e4 migration
|
19
|
* for simulating the IEditorPart behavior of editors VS views
|
20
|
*
|
21
|
* @see ISelectionElementEditingPart
|
22
|
* @author pplitzner
|
23
|
* @since Jun 28, 2017
|
24
|
*
|
25
|
*/
|
26
|
public interface IE4SavablePart {
|
27
|
//FIXME E4
|
28
|
|
29
|
/**
|
30
|
* Save this part
|
31
|
* @param monitor the progress monitor for long running save actions
|
32
|
*/
|
33
|
public void save(IProgressMonitor monitor);
|
34
|
}
|