KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > ui > text > java > IProblemRequestorExtension


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.jdt.internal.ui.text.java;
12
13
14 import org.eclipse.core.runtime.IProgressMonitor;
15
16
17 /**
18  * Extension to <code>IProblemRequestor</code>.
19  */

20 public interface IProblemRequestorExtension {
21
22     /**
23      * Sets the progress monitor to this problem requestor.
24      *
25      * @param monitor the progress monitor to be used
26      */

27     void setProgressMonitor(IProgressMonitor monitor);
28
29     /**
30      * Sets the active state of this problem requestor.
31      *
32      * @param isActive 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 start. While
38      * a sequence is active, multiple peering calls of <code>beginReporting</code> and
39      * <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 finished.
47      *
48      * @since 3.0
49      */

50     void endReportingSequence();
51
52     /**
53      * Tells the problem requestor to handle temporary problems.
54      *
55      * @param enable <code>true</code> if temporary problems are handled
56      * @since 3.1
57      */

58     void setIsHandlingTemporaryProblems(boolean enable);
59 }
60
Popular Tags