01: /*******************************************************************************
02: * Copyright (c) 2003, 2007 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.navigator;
11:
12: /**
13: *
14: * An extension activation listener is notified whenever the activation state
15: * changese for one or more content extensions.
16: *
17: *
18: * <p>
19: * Clients may implement this interface.
20: * </p>
21: *
22: * @since 3.2
23: * @see INavigatorActivationService
24: * @see INavigatorActivationService#addExtensionActivationListener(IExtensionActivationListener)
25: * @see INavigatorActivationService#removeExtensionActivationListener(IExtensionActivationListener)
26: */
27: public interface IExtensionActivationListener {
28: /**
29: * @param aViewerId
30: * The viewer id of the INavigatorContentService
31: * @param theNavigatorExtensionIds
32: * A sorted array of updated extension ids
33: * @param isActive
34: * The new activation state of the extensions
35: */
36: void onExtensionActivation(String aViewerId,
37: String[] theNavigatorExtensionIds, boolean isActive);
38: }
|