KickJava   Java API By Example, From Geeks To Geeks.

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


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 import org.eclipse.debug.core.model.IExpression;
16
17 /**
18  * An expression listener is notified of expression additions,
19  * removals, and changes. Listeners register and unregister with the
20  * expression manager.
21  * <p>
22  * Clients may implement this interface.
23  * </p>
24  * @see IExpressionManager
25  * @since 2.0
26  */

27
28 public interface IExpressionListener {
29
30     /**
31      * Notifies this listener that the given expression has been added
32      * to the expression manager.
33      *
34      * @param expression the added expression
35      */

36     public void expressionAdded(IExpression expression);
37     /**
38      * Notifies this listener that the given expression has been removed
39      * from the expression manager.
40      *
41      * @param expression the removed expression
42      */

43     public void expressionRemoved(IExpression expression);
44     
45     /**
46      * Notifies this listener that the given expression has
47      * changed.
48      *
49      * @param expression the changed expression
50      */

51     public void expressionChanged(IExpression expression);
52
53 }
54
Popular Tags