KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > team > core > variants > ISynchronizerChangeListener


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.team.core.variants;
12
13 import org.eclipse.core.resources.IResource;
14
15 /**
16  * Listener that can receive notification from a <code>ThreeWaySynchronizer</code>
17  * when the synchronization state of one or more resources has changed.
18  * @see ThreeWaySynchronizer
19  * @since 3.0
20  */

21 public interface ISynchronizerChangeListener {
22     
23     /**
24      * Notification of synchronization state changes for the given resources.
25      * Clients must query the <code>ThreeWaySynchronizer</code> that generated
26      * this event to determine the new synchronization state.
27      * @param resources the resources whose synchronization state has changed
28      */

29     public void syncStateChanged(IResource[] resources);
30 }
31
Popular Tags