Skip to main content
summaryrefslogtreecommitdiffstats
blob: 5ecce0b9edf005496363a16078aed740edca9b87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*******************************************************************************
 * Copyright (c) 2000, 2003 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Common Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v10.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.team.core.subscribers;

import org.eclipse.core.runtime.IProgressMonitor;

/**
 * Classes which implement this interface provide methods that deal with the
 * events that are generated as a {@link ISyncInfoSet} changes.
 * <p>
 * After creating an instance of a class that implements this interface it can
 * be added to a sync info set using the <code>addSyncSetChangedListener</code>
 * method and removed using the <code>removeSyncSetChangedListener</code>
 * method.
 * </p>
 * 
 * @see ISyncInfoSetChangeEvent
 * @since 3.0
 */
public interface ISyncSetChangedListener {

	/**
	 * Sent when a {@link ISyncInfoSet} changes. For example, when a resource's 
	 * synchronization state changes.
	 * 
	 * @param event an event containing information about the change.
	 */
	public void syncSetChanged(ISyncInfoSetChangeEvent event, IProgressMonitor monitor);
}

Back to the top