/*******************************************************************************
 * Copyright (c) 2003, 2015 IBM Corporation and others.
 *
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 * IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.ui.navigator;


/**
 *
 * An extension activation listener is notified whenever the activation state
 * changes for one or more content extensions.
 *
 * @since 3.2
 * @see INavigatorActivationService
 * @see INavigatorActivationService#addExtensionActivationListener(IExtensionActivationListener)
 * @see INavigatorActivationService#removeExtensionActivationListener(IExtensionActivationListener)
 */
public interface IExtensionActivationListener {
	/**
	 * @param aViewerId
	 *            The viewer id of the INavigatorContentService
	 * @param theNavigatorExtensionIds
	 *            A sorted array of updated extension ids
	 * @param isActive
	 *            The new activation state of the extensions
	 */
	void onExtensionActivation(String aViewerId,
			String[] theNavigatorExtensionIds, boolean isActive);
}
