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

Unified Diff: editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/ui/dialogs/UpdateStatusControl.java

Issue 10660016: Update manager fixes to handle update check failures. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.tools.update.core/src/com/google/dart/tools/update/core/UpdateAdapter.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/ui/dialogs/UpdateStatusControl.java
===================================================================
--- editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/ui/dialogs/UpdateStatusControl.java (revision 9083)
+++ editor/tools/plugins/com.google.dart.tools.deploy/src/com/google/dart/tools/ui/dialogs/UpdateStatusControl.java (working copy)
@@ -103,6 +103,18 @@
}
@Override
+ public void checkFailed(final String message) {
+ System.out.println("UpdateStatusControl.checkFailed()");
+ asyncExec(new Runnable() {
+ @Override
+ public void run() {
+ setStatus(message, regularFont);
+ setActionEnabled(checkFordUpdatesAction);
+ }
+ });
+ }
+
+ @Override
public void checkStarted() {
asyncExec(new Runnable() {
@Override
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.tools.update.core/src/com/google/dart/tools/update/core/UpdateAdapter.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698