01: /*******************************************************************************
02: * Copyright (c) 2003, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.commands;
11:
12: /**
13: * An instance of this interface can be used by clients to receive notification
14: * of changes to one or more instances of <code>IHandler</code>.
15: * <p>
16: * This interface may be implemented by clients.
17: * </p>
18: *
19: * @since 3.0
20: * @see IHandler#addHandlerListener(IHandlerListener)
21: * @see IHandler#removeHandlerListener(IHandlerListener)
22: * @deprecated Please use the "org.eclipse.core.commands" plug-in instead.
23: * @see org.eclipse.core.commands.IHandlerListener
24: */
25: public interface IHandlerListener {
26:
27: /**
28: * Notifies that one or more properties of an instance of
29: * <code>IHandler</code> have changed. Specific details are described in
30: * the <code>HandlerEvent</code>.
31: *
32: * @param handlerEvent
33: * the handler event. Guaranteed not to be <code>null</code>.
34: */
35: void handlerChanged(HandlerEvent handlerEvent);
36: }
|