KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > team > core > subscribers > ISubscriberChangeListener


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.subscribers;
12
13 import java.util.EventListener JavaDoc;
14
15 /**
16  * A subscriber change listener is notified of changes to resources
17  * regarding their subscriber synchronization state.
18  * <p>
19  * Clients may implement this interface.
20  * </p>
21  * @see Subscriber#addListener(ISubscriberChangeListener)
22  * @since 3.0
23  */

24 public interface ISubscriberChangeListener extends EventListener JavaDoc{
25     
26     /**
27      * Notifies this listener that some resources' subscriber properties have
28      * changed. The changes have already happened. For example, a resource's
29      * base revision may have changed. The resource tree may or may not be open for modification
30      * when this method is invoked.
31      *
32      * @param deltas detailing the kinds of changes
33      */

34     public void subscriberResourceChanged(ISubscriberChangeEvent[] deltas);
35 }
36
37
Popular Tags