intial source from ttp://www.sf.net/projects/wdte
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.css.core / src / net / sourceforge / phpeclipse / css / core / parser / IProblemReporter.java
diff --git a/archive/net.sourceforge.phpeclipse.css.core/src/net/sourceforge/phpeclipse/css/core/parser/IProblemReporter.java b/archive/net.sourceforge.phpeclipse.css.core/src/net/sourceforge/phpeclipse/css/core/parser/IProblemReporter.java
new file mode 100644 (file)
index 0000000..b5b27d6
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ * Copyright (c) 2003-2004 Christopher Lenz 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:
+ *     Christopher Lenz - initial API
+ * 
+ * $Id: IProblemReporter.java,v 1.1 2004-09-02 18:07:12 jsurfer Exp $
+ */
+
+package net.sourceforge.phpeclipse.css.core.parser;
+
+/**
+ * Basic interface for classes that report errors to a problem collector.
+ */
+public interface IProblemReporter {
+
+       /**
+        * Sets the problem collector that should be used by the reporter.
+        * 
+        * @param problemCollector the problem collector to use
+        */
+       void setProblemCollector(IProblemCollector problemCollector);
+
+}