1) Moved net.sourceforge.phpeclipse.ui\src\net\sourceforge\phpdt back to net.sourcefo...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / ui / text / java / IProblemRequestorExtension.java
diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/java/IProblemRequestorExtension.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/java/IProblemRequestorExtension.java
new file mode 100644 (file)
index 0000000..b9dcb85
--- /dev/null
@@ -0,0 +1,52 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2003 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials 
+ * are made available under the terms of the Common Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/cpl-v10.html
+ * 
+ * Contributors:
+ *     IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package net.sourceforge.phpdt.internal.ui.text.java;
+
+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.
+        * 
+        * @since 3.0
+        */
+       void beginReportingSequence();
+
+       /**
+        * Informs the problem requestor that the sequence of reportings has been
+        * finished.
+        * 
+        * @since 3.0
+        */
+       void endReportingSequence();
+}