blob: ce1f55d265c7e02acc98d9cb4b28b9bd10479fc5 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2003, 2007 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.core.runtime;
import java.util.EventListener;
/**
* <b>Note:</b> for new implementations consider using {@link IRegistryEventListener}.
* <p>
* A registry change listener is notified of changes to extensions points in the
* registry. These changes arise from subsequent manipulation of the registry after
* it was initially created.
* </p><p>
* This interface can be used without OSGi running.
* </p><p>
* Clients may implement this interface.
* </p>
*
* @since 3.0
* @see IExtensionRegistry
* @see IRegistryChangeEvent
*/
public interface IRegistryChangeListener extends EventListener {
/**
* Notifies this listener that some registry changes are happening, or have
* already happened.
* <p>
* The supplied event gives details. This event object (and the deltas in it) is valid
* only for the duration of the invocation of this method.
* </p> <p>
* Note: This method is called by the platform; it is not intended
* to be called directly by clients.
* </p>
*
* @param event the registry change event
* @see IRegistryChangeEvent
*/
public void registryChanged(IRegistryChangeEvent event);
}