KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > core > commands > contexts > IContextManagerListener


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
12 package org.eclipse.core.commands.contexts;
13
14 /**
15  * An instance of this interface can be used by clients to receive notification
16  * of changes to one or more instances of <code>IContextManager</code>.
17  * <p>
18  * This interface may be implemented by clients.
19  * </p>
20  *
21  * @since 3.1
22  * @see ContextManager#addContextManagerListener(IContextManagerListener)
23  * @see ContextManager#removeContextManagerListener(IContextManagerListener)
24  */

25 public interface IContextManagerListener {
26
27     /**
28      * Notifies that one or more properties of an instance of
29      * <code>IContextManager</code> have changed. Specific details are
30      * described in the <code>ContextManagerEvent</code>.
31      *
32      * @param contextManagerEvent
33      * the context manager event. Guaranteed not to be
34      * <code>null</code>.
35      */

36     void contextManagerChanged(ContextManagerEvent contextManagerEvent);
37 }
38
Popular Tags