Skip to main content
summaryrefslogtreecommitdiffstats
blob: d8dc6be75cdc323adc7dd4e3994926ee155a577e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (c) 2002 IBM Corp.  All rights reserved.
 * This file is 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
 */
package org.eclipse.team.examples.pessimistic;
 
import org.eclipse.core.resources.IResource;

/**
 * An <code>IResourceStateListener</code> recieves callbacks
 * when the repository state of resources change, i.e. a file gets checked
 * in, a folder gets checked out, a project is no longer shared, etc.
 */
public interface IResourceStateListener {
	/**
	 * Notifies this listener that the state of the resources has changed.
	 * @param resources	An array of resources with changed states or an empty array.
	 */
	void stateChanged(IResource[] resources);
}

Back to the top