KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jface > text > source > ILineDifferExtension


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 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.jface.text.source;
12
13 /**
14  * Extension interface for {@link ILineDiffer}.
15  * <p>
16  * Introduces the concept of suspending a differ. A <code>ILineDiffer</code> may
17  * be suspended into a dormant state, and resumed to normal operation.
18  * </p>
19  *
20  * @since 3.1
21  */

22 public interface ILineDifferExtension {
23
24     /**
25      * Suspends the receiver. All differences are cleared.
26      */

27     void suspend();
28
29     /**
30      * Resumes the receiver. Must only be called after suspend.
31      */

32     void resume();
33 }
34
Popular Tags