KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > 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.ui.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.0
22  * @see IContextManager#addContextManagerListener(IContextManagerListener)
23  * @see IContextManager#removeContextManagerListener(IContextManagerListener)
24  * @deprecated Please use the "org.eclipse.core.commands" plug-in instead.
25  * @see org.eclipse.core.commands.contexts.IContextManagerListener
26  */

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

38     void contextManagerChanged(ContextManagerEvent contextManagerEvent);
39 }
40
Popular Tags