1 /** 2 * <copyright> 3 * 4 * Copyright (c) 2002-2004 IBM Corporation and others. 5 * All rights reserved. This program and the accompanying materials 6 * are made available under the terms of the Eclipse Public License v1.0 7 * which accompanies this distribution, and is available at 8 * http://www.eclipse.org/legal/epl-v10.html 9 * 10 * Contributors: 11 * IBM - Initial API and implementation 12 * 13 * </copyright> 14 * 15 * $Id: CommandStackListener.java,v 1.3 2005/06/08 05:44:08 nickb Exp $ 16 */ 17 package org.eclipse.emf.common.command; 18 19 20 import java.util.EventObject; 21 22 23 /** 24 * A listener to a {@link org.eclipse.emf.common.command.CommandStack}. 25 */ 26 public interface CommandStackListener 27 { 28 /** 29 * Called when the {@link org.eclipse.emf.common.command.CommandStack}'s state has changed. 30 * @param event the event. 31 */ 32 void commandStackChanged(EventObject event); 33 } 34