01: /*******************************************************************************
02: * Copyright (c) 2000, 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: * <p>
14: * An instance of <code>IKeyConfigurationListener</code> can be used by
15: * clients to receive notification of changes to one or more instances of
16: * <code>IKeyConfiguration</code>.
17: * </p>
18: * <p>
19: * This interface may be implemented by clients.
20: * </p>
21: *
22: * @since 3.0
23: * @see IKeyConfiguration#addKeyConfigurationListener(IKeyConfigurationListener)
24: * @see IKeyConfiguration#removeKeyConfigurationListener(IKeyConfigurationListener)
25: * @see org.eclipse.ui.commands.KeyConfigurationEvent
26: * @deprecated Please use the bindings support in the "org.eclipse.jface"
27: * plug-in instead.
28: * @see org.eclipse.jface.bindings.ISchemeListener
29: */
30: public interface IKeyConfigurationListener {
31:
32: /**
33: * Notifies that one or more attributes of an instance of <code>IKeyConfiguration</code>
34: * have changed. Specific details are described in the <code>KeyConfigurationEvent</code>.
35: *
36: * @param keyConfigurationEvent
37: * the keyConfiguration event. Guaranteed not to be <code>null</code>.
38: */
39: void keyConfigurationChanged(
40: KeyConfigurationEvent keyConfigurationEvent);
41: }
|