129
|
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 * Port to the D programming language:
|
|
11 * Frank Benoit <benoit@tionex.de>
|
|
12 *******************************************************************************/
|
|
13 module dwtx.jface.text.source.ILineDifferExtension;
|
|
14
|
|
15 import dwt.dwthelper.utils;
|
|
16
|
|
17 /**
|
|
18 * Extension interface for {@link ILineDiffer}.
|
|
19 * <p>
|
|
20 * Introduces the concept of suspending a differ. A <code>ILineDiffer</code> may
|
|
21 * be suspended into a dormant state, and resumed to normal operation.
|
|
22 * </p>
|
|
23 *
|
|
24 * @since 3.1
|
|
25 */
|
|
26 public interface ILineDifferExtension {
|
|
27
|
|
28 /**
|
|
29 * Suspends the receiver. All differences are cleared.
|
|
30 */
|
|
31 void suspend();
|
|
32
|
|
33 /**
|
|
34 * Resumes the receiver. Must only be called after suspend.
|
|
35 */
|
|
36 void resume();
|
|
37 }
|