1 /*******************************************************************************
2  * Copyright (c) 2007, 2015 IBM Corporation and others.
3  *
4  * This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License 2.0
6  * which accompanies this distribution, and is available at
7  * https://www.eclipse.org/legal/epl-2.0/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *     IBM Corporation - initial API and implementation
13  ******************************************************************************/
14 
15 package org.eclipse.jface.viewers;
16 
17 /**
18  * Parties interested in activation and deactivation of editors extend this
19  * class and implement any or all of the methods
20  *
21  * @since 3.3
22  *
23  */
24 public abstract class ColumnViewerEditorActivationListener {
25 	/**
26 	 * Called before an editor is activated
27 	 *
28 	 * @param event
29 	 *            the event
30 	 */
beforeEditorActivated(ColumnViewerEditorActivationEvent event)31 	public abstract void beforeEditorActivated(ColumnViewerEditorActivationEvent event);
32 
33 	/**
34 	 * Called after an editor has been activated
35 	 *
36 	 * @param event the event
37 	 */
afterEditorActivated(ColumnViewerEditorActivationEvent event)38 	public abstract void afterEditorActivated(ColumnViewerEditorActivationEvent event);
39 
40 	/**
41 	 * Called before an editor is deactivated
42 	 *
43 	 * @param event
44 	 *            the event
45 	 */
beforeEditorDeactivated(ColumnViewerEditorDeactivationEvent event)46 	public abstract void beforeEditorDeactivated(ColumnViewerEditorDeactivationEvent event);
47 
48 
49 	/**
50 	 * Called after an editor is deactivated
51 	 *
52 	 * @param event the event
53 	 */
afterEditorDeactivated(ColumnViewerEditorDeactivationEvent event)54 	public abstract void afterEditorDeactivated(ColumnViewerEditorDeactivationEvent event);
55 }
56