KickJava   Java API By Example, From Geeks To Geeks.

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


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 import org.eclipse.debug.core.model.IExpression;
15
16 /**
17  * An expression listener is notified of expression additions,
18  * removals, and changes. Listeners register and unregister with the
19  * expression manager.
20  * <p>
21  * This interface is analogous to <code>IExpressionListener</code>, except
22  * notifications are batched for more than when expression when possible.
23  * </p>
24  * <p>
25  * Clients may implement this interface.
26  * </p>
27  * @see IExpressionManager
28  * @since 2.1
29  */

30
31 public interface IExpressionsListener {
32
33     /**
34      * Notifies this listener that the given expressions have been added
35      * to the expression manager.
36      *
37      * @param expressions the added expressions
38      */

39     public void expressionsAdded(IExpression[] expressions);
40     /**
41      * Notifies this listener that the given expressions has been removed
42      * from the expression manager.
43      *
44      * @param expressions the removed expressions
45      */

46     public void expressionsRemoved(IExpression[] expressions);
47     
48     /**
49      * Notifies this listener that the given expressions have
50      * changed.
51      *
52      * @param expressions the changed expressions
53      */

54     public void expressionsChanged(IExpression[] expressions);
55
56 }
57
Popular Tags