1 /******************************************************************************* 2 * Copyright (c) 2006 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.internal.menus; 13 14 import org.eclipse.ui.internal.ActionSetsEvent; 15 16 17 /** 18 * <p> 19 * A listener to changes in the list of active action sets. 20 * </p> 21 * <p> 22 * This class is only intended for internal use within 23 * <code>org.eclipse.ui.workbench</code>. 24 * </p> 25 * <p> 26 * This class will eventually exist in <code>org.eclipse.jface.menus</code>. 27 * </p> 28 * 29 * @since 3.2 30 */ 31 public interface IActionSetsListener { 32 33 /** 34 * Indicates that the list of active action sets has changed. 35 * 36 * @param event 37 * The event carrying information about the new state of the 38 * action sets; never <code>null</code>. 39 */ 40 public void actionSetsChanged(ActionSetsEvent event); 41 42 } 43 44