| /******************************************************************************* |
| * Copyright (c) 2000, 2007 IBM Corporation and others. |
| * This program and the accompanying materials are made available under the |
| * terms of the Eclipse Public License v. 2.0 which is available at |
| * http://www.eclipse.org/legal/epl-2.0. |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * xored software, Inc. - Initial implementation |
| *******************************************************************************/ |
| package org.eclipse.dltk.internal.ui.text; |
| |
| import org.eclipse.core.runtime.IProgressMonitor; |
| |
| /** |
| * Extension to <code>IProblemRequestor</code>. |
| */ |
| public interface IProblemRequestorExtension { |
| |
| /** |
| * Sets the progress monitor to this problem requestor. |
| * |
| * @param monitor |
| * the progress monitor to be used |
| */ |
| void setProgressMonitor(IProgressMonitor monitor); |
| |
| /** |
| * Sets the active state of this problem requestor. |
| * |
| * @param isActive |
| * the state of this problem requestor |
| */ |
| void setIsActive(boolean isActive); |
| |
| /** |
| * Informs the problem requestor that a sequence of reportings is about to |
| * start. While a sequence is active, multiple peering calls of |
| * <code>beginReporting</code> and <code>endReporting</code> can appear. |
| * |
| */ |
| void beginReportingSequence(); |
| |
| /** |
| * Informs the problem requestor that the sequence of reportings has been |
| * finished. |
| * |
| */ |
| void endReportingSequence(); |
| |
| /** |
| * Tells the problem requestor to handle temporary problems. |
| * |
| * @param enable |
| * <code>true</code> if temporary problems are handled |
| */ |
| void setIsHandlingTemporaryProblems(boolean enable); |
| } |