b9dcb85264c734659516769fbe8d83f17069b79f
[phpeclipse.git] /
1 /*******************************************************************************
2  * Copyright (c) 2000, 2003 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials 
4  * are made available under the terms of the Common Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/cpl-v10.html
7  * 
8  * Contributors:
9  *     IBM Corporation - initial API and implementation
10  *******************************************************************************/
11 package net.sourceforge.phpdt.internal.ui.text.java;
12
13 import org.eclipse.core.runtime.IProgressMonitor;
14
15 /**
16  * Extension to <code>IProblemRequestor</code>.
17  */
18 public interface IProblemRequestorExtension {
19
20         /**
21          * Sets the progress monitor to this problem requestor.
22          * 
23          * @param monitor
24          *            the progress monitor to be used
25          */
26         void setProgressMonitor(IProgressMonitor monitor);
27
28         /**
29          * Sets the active state of this problem requestor.
30          * 
31          * @param isActive
32          *            the state of this problem requestor
33          */
34         void setIsActive(boolean isActive);
35
36         /**
37          * Informs the problem requestor that a sequence of reportings is about to
38          * start. While a sequence is active, multiple peering calls of
39          * <code>beginReporting</code> and <code>endReporting</code> can appear.
40          * 
41          * @since 3.0
42          */
43         void beginReportingSequence();
44
45         /**
46          * Informs the problem requestor that the sequence of reportings has been
47          * finished.
48          * 
49          * @since 3.0
50          */
51         void endReportingSequence();
52 }