OLD | NEW |
(Empty) | |
| 1 package autotest.planner.triage; |
| 2 |
| 3 import autotest.common.ui.TabView; |
| 4 import autotest.planner.TestPlanSelector; |
| 5 |
| 6 import com.google.gwt.user.client.ui.HTMLPanel; |
| 7 |
| 8 |
| 9 public class TriageViewTab extends TabView { |
| 10 |
| 11 private TriageViewPresenter presenter; |
| 12 private TriageViewDisplay display = new TriageViewDisplay(); |
| 13 |
| 14 public TriageViewTab(TestPlanSelector selector) { |
| 15 presenter = new TriageViewPresenter(selector); |
| 16 } |
| 17 |
| 18 @Override |
| 19 public String getElementId() { |
| 20 return "triage_view"; |
| 21 } |
| 22 |
| 23 @Override |
| 24 public void initialize() { |
| 25 super.initialize(); |
| 26 display.initialize((HTMLPanel) getWidget()); |
| 27 presenter.bindDisplay(display); |
| 28 } |
| 29 |
| 30 @Override |
| 31 public void refresh() { |
| 32 super.refresh(); |
| 33 presenter.refresh(); |
| 34 } |
| 35 } |
OLD | NEW |