KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > team > ui > synchronize > ISynchronizeParticipantListener


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.ui.synchronize;
12
13 /**
14  * A synchronize participant listener is notified when participants are added or
15  * removed from the synchronize manager.
16  * <p>
17  * Clients may implement this interface.
18  * </p>
19  * @see ISynchronizeManager
20  * @since 3.0
21  */

22 public interface ISynchronizeParticipantListener {
23     /**
24      * Notification the given participants have been added to the synchronize
25      * manager.
26      *
27      * @param participants added participants
28      */

29     public void participantsAdded(ISynchronizeParticipant[] participants);
30     
31     /**
32      * Notification the given participants have been removed from the
33      * synchronize manager.
34      *
35      * @param participants removed participants
36      */

37     public void participantsRemoved(ISynchronizeParticipant[] participants);
38 }
39
Popular Tags