KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > team > internal > ccvs > core > ICVSDecoratorEnablementListener


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 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.team.internal.ccvs.core;
12
13 /**
14  * A decorator enablement listener is notified of changes to the enablement
15  * of CVS state decorators.
16  * <p>
17  * Clients may implement this interface.
18  * </p>
19  * @see CVSProviderPlugin#addDecoratorEnablementListener(ICVSDecoratorEnablementListener)
20  */

21 public interface ICVSDecoratorEnablementListener {
22     /**
23      * Called when CVS decoration is enabled or disabled. Implementers can use the
24      * decorator enablement change as a chance to create or destroy cached CVS information
25      * that would help decorate CVS elements.
26      *
27      * @param enabled a flag indicating the enablement state of the decorators.
28      */

29     void decoratorEnablementChanged(boolean enabled);
30 }
31
Popular Tags