Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Unified Diff: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/text/dart/IQuickFixProcessor.java

Issue 10816034: Basic 'Quick Fix' support and one fix as example/test (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/text/dart/IQuickFixProcessor.java
diff --git a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/text/dart/IQuickFixProcessor.java b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/text/dart/IQuickFixProcessor.java
index 0d180677591156558b9526654ff1d54853c94a6a..72c10a92c185bdcb525be30cffd1e0ec3b56fbb2 100644
--- a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/text/dart/IQuickFixProcessor.java
+++ b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/text/dart/IQuickFixProcessor.java
@@ -13,6 +13,7 @@
*/
package com.google.dart.tools.ui.text.dart;
+import com.google.dart.compiler.ErrorCode;
import com.google.dart.tools.core.model.CompilationUnit;
import org.eclipse.core.runtime.CoreException;
@@ -60,6 +61,6 @@ public interface IQuickFixProcessor {
* specified in the extension point.
* @return <code>true</code> if the processor has proposals for the given problem
*/
- boolean hasCorrections(CompilationUnit unit, int problemId);
+ boolean hasCorrections(CompilationUnit unit, ErrorCode problemId);
}

Powered by Google App Engine
This is Rietveld 408576698