KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > core > commands > IHandlerListener


1 /*******************************************************************************
2  * Copyright (c) 2004, 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.commands;
12
13 /**
14  * An instance of this interface can be used by clients to receive notification
15  * of changes to one or more instances of <code>IHandler</code>.
16  * <p>
17  * This interface may be implemented by clients.
18  * </p>
19  *
20  * @since 3.1
21  * @see IHandler#addHandlerListener(IHandlerListener)
22  * @see IHandler#removeHandlerListener(IHandlerListener)
23  */

24 public interface IHandlerListener {
25
26     /**
27      * Notifies that one or more properties of an instance of
28      * <code>IHandler</code> have changed. Specific details are described in
29      * the <code>HandlerEvent</code>.
30      *
31      * @param handlerEvent
32      * the handler event. Guaranteed not to be <code>null</code>.
33      */

34     void handlerChanged(HandlerEvent handlerEvent);
35 }
36
Popular Tags