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

Unified Diff: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/correction/ContributedProcessorDescriptor.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/internal/text/correction/ContributedProcessorDescriptor.java
diff --git a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/correction/ContributedProcessorDescriptor.java b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/correction/ContributedProcessorDescriptor.java
index 80aee701d15824fd240080f24bf7350e86943e85..73ceb1803d8a3ec996dbea63f071fe9d5db76031 100644
--- a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/correction/ContributedProcessorDescriptor.java
+++ b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/correction/ContributedProcessorDescriptor.java
@@ -13,6 +13,7 @@
*/
package com.google.dart.tools.ui.internal.text.correction;
+import com.google.dart.tools.core.DartCore;
import com.google.dart.tools.core.model.CompilationUnit;
import com.google.dart.tools.core.model.DartProject;
import com.google.dart.tools.ui.DartToolsPlugin;
@@ -116,11 +117,12 @@ public final class ContributedProcessorDescriptor {
}
}
}
-// if (map.isEmpty()) {
+ if (map.isEmpty()) {
+ map.add(DartCore.DART_PROBLEM_MARKER_TYPE);
// map.add(IJavaModelMarker.JAVA_MODEL_PROBLEM_MARKER);
// map.add(IJavaModelMarker.BUILDPATH_PROBLEM_MARKER);
// map.add(IJavaModelMarker.TASK_MARKER);
-// }
+ }
return map;
}

Powered by Google App Engine
This is Rietveld 408576698