Project

General

Profile

Download (1.62 KB) 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.model;
11

    
12
import org.eclipse.core.runtime.IProgressMonitor;
13
import org.eclipse.ui.IMemento;
14

    
15

    
16
/**
17
 * <p>IContextListener interface.</p>
18
 *
19
 * @author n.hoffmann
20
 * @created Mar 23, 2010
21
 * @version 1.0
22
 */
23
public interface IContextListener {
24

    
25
	/**
26
	 * <p>contextAboutToStop</p>
27
	 *
28
	 * @param monitor a {@link org.eclipse.core.runtime.IProgressMonitor} object.
29
	 * @param memento a {@link org.eclipse.ui.IMemento} object.
30
	 */
31
	public abstract void contextAboutToStop(IMemento memento, IProgressMonitor monitor);
32

    
33
	/**
34
	 * <p>contextStop</p>
35
	 *
36
	 * @param monitor a {@link org.eclipse.core.runtime.IProgressMonitor} object.
37
	 * @param memento a {@link org.eclipse.ui.IMemento} object.
38
	 */
39
	public abstract void contextStop(IMemento memento, IProgressMonitor monitor);
40

    
41
	/**
42
	 * <p>contextStart</p>
43
	 *
44
	 * @param monitor a {@link org.eclipse.core.runtime.IProgressMonitor} object.
45
	 * @param memento a {@link org.eclipse.ui.IMemento} object.
46
	 */
47
	public abstract void contextStart(IMemento memento, IProgressMonitor monitor);
48

    
49
	public abstract void contextRefresh(IProgressMonitor monitor);
50
	
51
	/**
52
	 * <p>workbenchShutdown</p>
53
	 *
54
	 * @param memento a {@link org.eclipse.ui.IMemento} object.
55
	 * @param monitor a {@link org.eclipse.core.runtime.IProgressMonitor} object.
56
	 */
57
	public abstract void workbenchShutdown(IMemento memento, IProgressMonitor monitor);
58
}
(16-16/38)