KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > texteditor > IDocumentProviderExtension2


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
12 package org.eclipse.ui.texteditor;
13
14
15 import org.eclipse.core.runtime.IProgressMonitor;
16
17 /**
18  * Extension interface for {@link org.eclipse.ui.texteditor.IDocumentProvider}. It adds the following
19  * functions:
20  * <ul>
21  * <li> global temporary progress monitor
22  * </ul>
23  * @since 2.1
24  */

25 public interface IDocumentProviderExtension2 {
26
27     /**
28      * Sets this providers progress monitor.
29      * @param progressMonitor
30      */

31     void setProgressMonitor(IProgressMonitor progressMonitor);
32
33     /**
34      * Returns this providers progress monitor.
35      * @return IProgressMonitor
36      */

37     IProgressMonitor getProgressMonitor();
38 }
39
Popular Tags