001 /**
002 * <copyright>
003 *
004 * Copyright (c) 2002-2004 IBM Corporation and others.
005 * All rights reserved. This program and the accompanying materials
006 * are made available under the terms of the Eclipse Public License v1.0
007 * which accompanies this distribution, and is available at
008 * http://www.eclipse.org/legal/epl-v10.html
009 *
010 * Contributors:
011 * IBM - Initial API and implementation
012 *
013 * </copyright>
014 *
015 * $Id: CommandStackListener.java,v 1.3 2005/06/08 05:44:08 nickb Exp $
016 */
017 package org.eclipse.emf.common.command;
018
019
020 import java.util.EventObject;
021
022
023 /**
024 * A listener to a {@link org.eclipse.emf.common.command.CommandStack}.
025 */
026 public interface CommandStackListener
027 {
028 /**
029 * Called when the {@link org.eclipse.emf.common.command.CommandStack}'s state has changed.
030 * @param event the event.
031 */
032 void commandStackChanged(EventObject event);
033 }