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(); |
+ } |
+} |