KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 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 launch 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  * Clients may implement this interface.
21  * </p>
22  * @see org.eclipse.debug.core.ILaunch
23  * @see org.eclipse.debug.core.ILaunchesListener
24  */

25 public interface ILaunchListener {
26     /**
27      * Notifies this listener that the specified
28      * launch has been removed.
29      *
30      * @param launch the removed launch
31      * @since 2.0
32      */

33     public void launchRemoved(ILaunch launch);
34     /**
35      * Notifies this listener that the specified launch
36      * has been added.
37      *
38      * @param launch the newly added launch
39      * @since 2.0
40      */

41     public void launchAdded(ILaunch launch);
42     /**
43      * Notifies this listener that the specified launch
44      * has changed. For example, a process or debug target
45      * has been added to the launch.
46      *
47      * @param launch the changed launch
48      * @since 2.0
49      */

50     public void launchChanged(ILaunch launch);
51 }
52
Popular Tags