KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > core > variables > IValueVariableListener


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.core.variables;
12
13 /**
14  * A string variable listener is notified of variables as they are added
15  * and removed from the string variable manager. As well, listeners are
16  * notified when a value variable changes value.
17  * <p>
18  * Clients may implement this interface.
19  * </p>
20  * @since 3.0
21  */

22 public interface IValueVariableListener {
23     
24     /**
25      * Notification the given variables have been added to the variable
26      * manager.
27      *
28      * @param variables added variables
29      */

30     public void variablesAdded(IValueVariable[] variables);
31     
32     /**
33      * Notification the given variables have been removed from the variable
34      * manager.
35      *
36      * @param variables removed variables
37      */

38     public void variablesRemoved(IValueVariable[] variables);
39     
40     /**
41      * Notification the given variables have been changed value.
42      *
43      * @param variables changed variables
44      */

45     public void variablesChanged(IValueVariable[] variables);
46
47 }
48
Popular Tags