blob: d8dc6be75cdc323adc7dd4e3994926ee155a577e [file] [log] [blame]
/*
* 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);
}