KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > navigator > IExtensionActivationListener


1 /*******************************************************************************
2  * Copyright (c) 2003, 2007 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  * changese for one or more content extensions.
18  *
19  *
20  * <p>
21  * Clients may implement this interface.
22  * </p>
23  *
24  * @since 3.2
25  * @see INavigatorActivationService
26  * @see INavigatorActivationService#addExtensionActivationListener(IExtensionActivationListener)
27  * @see INavigatorActivationService#removeExtensionActivationListener(IExtensionActivationListener)
28  */

29 public interface IExtensionActivationListener {
30     /**
31      * @param aViewerId
32      * The viewer id of the INavigatorContentService
33      * @param theNavigatorExtensionIds
34      * A sorted array of updated extension ids
35      * @param isActive
36      * The new activation state of the extensions
37      */

38     void onExtensionActivation(String JavaDoc aViewerId,
39             String JavaDoc[] theNavigatorExtensionIds, boolean isActive);
40 }
41
Popular Tags