automated build configuration is on its way
[taxeditor.git] / taxeditor-store / src / main / java / eu / etaxonomy / taxeditor / model / IContextListener.java
1 // $Id$
2 /**
3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
6 *
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
9 */
10
11 package eu.etaxonomy.taxeditor.model;
12
13 import org.eclipse.core.runtime.IProgressMonitor;
14 import org.eclipse.ui.IMemento;
15
16
17 /**
18 * <p>IContextListener interface.</p>
19 *
20 * @author n.hoffmann
21 * @created Mar 23, 2010
22 * @version 1.0
23 */
24 public interface IContextListener {
25
26 /**
27 * <p>contextAboutToStop</p>
28 *
29 * @param monitor a {@link org.eclipse.core.runtime.IProgressMonitor} object.
30 * @param memento a {@link org.eclipse.ui.IMemento} object.
31 */
32 public abstract void contextAboutToStop(IMemento memento, IProgressMonitor monitor);
33
34 /**
35 * <p>contextStop</p>
36 *
37 * @param monitor a {@link org.eclipse.core.runtime.IProgressMonitor} object.
38 * @param memento a {@link org.eclipse.ui.IMemento} object.
39 */
40 public abstract void contextStop(IMemento memento, IProgressMonitor monitor);
41
42 /**
43 * <p>contextStart</p>
44 *
45 * @param monitor a {@link org.eclipse.core.runtime.IProgressMonitor} object.
46 * @param memento a {@link org.eclipse.ui.IMemento} object.
47 */
48 public abstract void contextStart(IMemento memento, IProgressMonitor monitor);
49
50 public abstract void contextRefresh(IProgressMonitor monitor);
51
52 /**
53 * <p>workbenchShutdown</p>
54 *
55 * @param memento a {@link org.eclipse.ui.IMemento} object.
56 * @param monitor a {@link org.eclipse.core.runtime.IProgressMonitor} object.
57 */
58 public abstract void workbenchShutdown(IMemento memento, IProgressMonitor monitor);
59 }