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 package org.eclipse.ui.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>ICommandManager</code>. 16 * <p> 17 * This interface may be implemented by clients. 18 * </p> 19 * 20 * @since 3.0 21 * @see ICommandManager#addCommandManagerListener(ICommandManagerListener) 22 * @see ICommandManager#removeCommandManagerListener(ICommandManagerListener) 23 * @deprecated Please use the "org.eclipse.core.commands" plug-in instead. 24 * @see org.eclipse.core.commands.ICommandManagerListener 25 */ 26 public interface ICommandManagerListener { 27 28 /** 29 * Notifies that one or more properties of an instance of 30 * <code>ICommandManager</code> have changed. Specific details are 31 * described in the <code>CommandManagerEvent</code>. 32 * 33 * @param commandManagerEvent 34 * the commandManager event. Guaranteed not to be 35 * <code>null</code>. 36 */ 37 void commandManagerChanged(CommandManagerEvent commandManagerEvent); 38 } 39