KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > debug > core > ILaunchesListener


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.debug.core;
12
13
14 /**
15  * A launches listener is notified of launches as they
16  * are added and removed from the launch manager. Also,
17  * when a process or debug target is added to a launch,
18  * listeners are notified of a change.
19  * <p>
20  * This interface is analogous to <code>ILaunchListerner</code>, except
21  * notifications are batched to include more than one launch object
22  * when possible.
23  * </p>
24  * <p>
25  * Clients may implement this interface.
26  * </p>
27  * @see org.eclipse.debug.core.ILaunch
28  * @see org.eclipse.debug.core.ILaunchManager
29  * @since 2.1
30  */

31 public interface ILaunchesListener {
32     /**
33      * Notifies this listener that the specified
34      * launches have been removed.
35      *
36      * @param launches the removed launch objects
37      */

38     public void launchesRemoved(ILaunch[] launches);
39     /**
40      * Notifies this listener that the specified launches
41      * have been added.
42      *
43      * @param launches the newly added launch objects
44      */

45     public void launchesAdded(ILaunch[] launches);
46     /**
47      * Notifies this listener that the specified launches
48      * have changed. For example, a process or debug target
49      * has been added to a launch.
50      *
51      * @param launches the changed launch object
52      */

53     public void launchesChanged(ILaunch[] launches);
54 }
55
Popular Tags