KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > debug > internal > ui > ILaunchLabelChangedListener


1 /*******************************************************************************
2  * Copyright (c) 2007 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.internal.ui;
12
13 import org.eclipse.debug.ui.ILaunchGroup;
14
15 /**
16  * Implementors of this interface are notified when a changed has been made to
17  * the cache of context sensitive labels stored in the <code>LaunchingResourceManager</code>.
18  * A change can come from either a selection change, or from a change to the launch history(s).
19  *
20  * <p>
21  * Clients are intended to implement this interface
22  * </p>
23  *
24  * @since 3.3
25  */

26 public interface ILaunchLabelChangedListener {
27     
28     /**
29      * This method is called back to by <code>LaunchingResourceManager</code> iff the cache of labels
30      * for the current set of listeners has changed
31      */

32     public void labelChanged();
33     
34     /**
35      * Returns the launch group that this listener is associated with.
36      * @return the launch group that this listener is associated with, or <code>null</code> if none
37      */

38     public ILaunchGroup getLaunchGroup();
39 }
40
Popular Tags