diff options
Diffstat (limited to 'bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/IRegistryChangeListener.java')
-rw-r--r-- | bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/IRegistryChangeListener.java | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/IRegistryChangeListener.java b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/IRegistryChangeListener.java new file mode 100644 index 000000000..8c908af44 --- /dev/null +++ b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/runtime/IRegistryChangeListener.java @@ -0,0 +1,43 @@ +/******************************************************************************* + * Copyright (c) 2003, 2004 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; + +/** + * 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> + * 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); +} |