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

Unified Diff: frontend/client/src/autotest/planner/triage/TriageViewDisplay.java

Issue 1595019: Merge remote branch 'origin/upstream' into tempbranch (Closed)
Patch Set: Created 10 years, 8 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: frontend/client/src/autotest/planner/triage/TriageViewDisplay.java
diff --git a/frontend/client/src/autotest/planner/triage/TriageViewDisplay.java b/frontend/client/src/autotest/planner/triage/TriageViewDisplay.java
new file mode 100644
index 0000000000000000000000000000000000000000..f8b227643917ea6d673402dc0e918e87ffd771fc
--- /dev/null
+++ b/frontend/client/src/autotest/planner/triage/TriageViewDisplay.java
@@ -0,0 +1,35 @@
+package autotest.planner.triage;
+
+import autotest.common.ui.NotifyManager;
+
+import com.google.gwt.user.client.ui.HTMLPanel;
+import com.google.gwt.user.client.ui.Panel;
+import com.google.gwt.user.client.ui.VerticalPanel;
+
+
+public class TriageViewDisplay implements TriageViewPresenter.Display {
+
+ private Panel container = new VerticalPanel();
+
+ public void initialize(HTMLPanel htmlPanel) {
+ htmlPanel.add(container, "triage_failure_tables");
+ }
+
+ @Override
+ public void setLoading(boolean loading) {
+ NotifyManager.getInstance().setLoading(loading);
+ container.setVisible(!loading);
+ }
+
+ @Override
+ public FailureTable.Display generateFailureTable() {
+ FailureTableDisplay display = new FailureTableDisplay();
+ container.add(display);
+ return display;
+ }
+
+ @Override
+ public void clearAllFailureTables() {
+ container.clear();
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698