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

Unified Diff: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/CleanFoldersAction.java

Issue 1050143002: use the new reanalyze sources server api (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 9 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/actions/CleanFoldersAction.java
===================================================================
--- editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/CleanFoldersAction.java (revision 44832)
+++ editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/actions/CleanFoldersAction.java (working copy)
@@ -56,12 +56,14 @@
if (!selection.isEmpty()) {
List<IProject> projects = new ArrayList<IProject>();
+ List<String> projectLoc = new ArrayList<String>();
for (Object sel : selection.toArray()) {
projects.add((IProject) sel);
+ projectLoc.add(((IProject) sel).getLocation().toOSString());
}
if (DartCoreDebug.ENABLE_ANALYSIS_SERVER) {
- DartCore.getAnalysisServer().analysis_reanalyze(null);
+ DartCore.getAnalysisServer().analysis_reanalyze(projectLoc);
} else {
CleanLibrariesJob job = new CleanLibrariesJob(projects);
job.schedule();
« no previous file with comments | « editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/utilities/RequestUtilities.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698