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

Unified Diff: frontend/client/src/autotest/planner/triage/TriageViewTab.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/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();
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698