Project

General

Profile

Download (1.34 KB) Statistics
| Branch: | Tag: | Revision:
1
/*******************************************************************************
2
 * Copyright (c) 2003, 2009 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.ui.navigator;
12

    
13

    
14
/**
15
 * 
16
 * An extension activation listener is notified whenever the activation state
17
 * changes for one or more content extensions.
18
 * 
19
 * @since 3.2
20
 * @see INavigatorActivationService
21
 * @see INavigatorActivationService#addExtensionActivationListener(IExtensionActivationListener)
22
 * @see INavigatorActivationService#removeExtensionActivationListener(IExtensionActivationListener)
23
 */
24
public interface IExtensionActivationListener {
25
	/**
26
	 * @param aViewerId
27
	 *            The viewer id of the INavigatorContentService
28
	 * @param theNavigatorExtensionIds
29
	 *            A sorted array of updated extension ids
30
	 * @param isActive
31
	 *            The new activation state of the extensions
32
	 */
33
	void onExtensionActivation(String aViewerId,
34
			String[] theNavigatorExtensionIds, boolean isActive);
35
}
(22-22/49)