1 /******************************************************************************* 2 * Copyright (c) 2003, 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 package org.eclipse.core.runtime; 12 13 import java.util.EventListener; 14 15 /** 16 * A registry change listener is notified of changes to extensions points in the 17 * registry. These changes arise from subsequent manipulation of the registry after 18 * it was initially created. 19 * <p> 20 * This interface can be used without OSGi running. 21 * </p><p> 22 * Clients may implement this interface. 23 * </p> 24 * 25 * @since 3.0 26 * @see IExtensionRegistry 27 * @see IRegistryChangeEvent 28 */ 29 public interface IRegistryChangeListener extends EventListener { 30 /** 31 * Notifies this listener that some registry changes are happening, or have 32 * already happened. 33 * <p> 34 * The supplied event gives details. This event object (and the deltas in it) is valid 35 * only for the duration of the invocation of this method. 36 * </p> <p> 37 * Note: This method is called by the platform; it is not intended 38 * to be called directly by clients. 39 * </p> 40 * 41 * @param event the registry change event 42 * @see IRegistryChangeEvent 43 */ 44 public void registryChanged(IRegistryChangeEvent event); 45 } 46