public void bindDisplay(Display display) { this.display = display; display.getTestTypeSelect().addItem(CLIENT_TYPE, CLIENT_TYPE); display.getTestTypeSelect().addItem(SERVER_TYPE, SERVER_TYPE); display.getTestTypeSelect().addChangeHandler(this); display.getTestTable().setWidgetFactory(this); display.getTestTable().addListener(this); populateTests(); display.getTestSelection().addListener(this); }
public void reset() { display.getTestTypeSelect().selectByName(CLIENT_TYPE); populateTests(); }
public void setEnabled(boolean enabled) { this.enabled = enabled; display.getTestTypeSelect().setEnabled(enabled); display.getTestTable().refreshWidgets(); }
public String getSelectedTestType() { return display.getTestTypeSelect().getSelectedName(); }