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