1 /*******************************************************************************
2  * Copyright (c) 2006, 2007 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 package org.eclipse.debug.internal.ui.viewers.model.provisional;
15 
16 
17 /**
18  * Notified of viewer updates.
19  *
20  * @since 3.3
21  */
22 public interface IViewerUpdateListener {
23 
24 	/**
25 	 * Notification that a sequence of viewer updates are starting.
26 	 */
viewerUpdatesBegin()27 	void viewerUpdatesBegin();
28 
29 	/**
30 	 * Notification that viewer updates are complete. Corresponds to
31 	 * a <code>viewerUpdatesBegin()</code> notification.
32 	 */
viewerUpdatesComplete()33 	void viewerUpdatesComplete();
34 
35 	/**
36 	 * Notification that a specific update has started within
37 	 * a sequence of updates.
38 	 *
39 	 * @param update update
40 	 */
updateStarted(IViewerUpdate update)41 	void updateStarted(IViewerUpdate update);
42 
43 	/**
44 	 * Notification that a specific update has completed within a
45 	 * sequence of updates.
46 	 *
47 	 * @param update update
48 	 */
updateComplete(IViewerUpdate update)49 	void updateComplete(IViewerUpdate update);
50 }
51