Index: frontend/client/src/autotest/planner/triage/TriageViewTab.java |
diff --git a/frontend/client/src/autotest/planner/triage/TriageViewTab.java b/frontend/client/src/autotest/planner/triage/TriageViewTab.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..61f0840ad2255b0974b36827183db23518dad5a8 |
--- /dev/null |
+++ b/frontend/client/src/autotest/planner/triage/TriageViewTab.java |
@@ -0,0 +1,35 @@ |
+package autotest.planner.triage; |
+ |
+import autotest.common.ui.TabView; |
+import autotest.planner.TestPlanSelector; |
+ |
+import com.google.gwt.user.client.ui.HTMLPanel; |
+ |
+ |
+public class TriageViewTab extends TabView { |
+ |
+ private TriageViewPresenter presenter; |
+ private TriageViewDisplay display = new TriageViewDisplay(); |
+ |
+ public TriageViewTab(TestPlanSelector selector) { |
+ presenter = new TriageViewPresenter(selector); |
+ } |
+ |
+ @Override |
+ public String getElementId() { |
+ return "triage_view"; |
+ } |
+ |
+ @Override |
+ public void initialize() { |
+ super.initialize(); |
+ display.initialize((HTMLPanel) getWidget()); |
+ presenter.bindDisplay(display); |
+ } |
+ |
+ @Override |
+ public void refresh() { |
+ super.refresh(); |
+ presenter.refresh(); |
+ } |
+} |