KickJava   Java API By Example, From Geeks To Geeks.

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


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  * Notified when a launch configuration is created,
16  * deleted, or changed.
17  * <p>
18  * This interface is intended to be implemented by clients.
19  * </p>
20  * @since 2.0
21  */

22 public interface ILaunchConfigurationListener {
23     
24     /**
25      * The given launch configuration has been created.
26      *
27      * @param configuration the newly created launch configuration
28      */

29     public void launchConfigurationAdded(ILaunchConfiguration configuration);
30     
31     /**
32      * The given launch configuration has changed in some way.
33      * The configuration may be a working copy.
34      *
35      * @param configuration the launch configuration that has
36      * changed
37      */

38     public void launchConfigurationChanged(ILaunchConfiguration configuration);
39     
40     /**
41      * The given launch configuration has been deleted.
42      * <p>
43      * The launch configuration no longer exists. Data stored
44      * in the configuration can no longer be accessed, however
45      * handle-only attributes of the launch configuration
46      * can be retrieved.
47      * </p>
48      *
49      * @param configuration the deleted launch configuration
50      */

51     public void launchConfigurationRemoved(ILaunchConfiguration configuration);
52 }
53
54
Popular Tags