| Index: frontend/client/src/autotest/planner/TestPlanSelectorDisplay.java
|
| diff --git a/frontend/client/src/autotest/planner/TestPlanSelectorDisplay.java b/frontend/client/src/autotest/planner/TestPlanSelectorDisplay.java
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3da552776d5f475ec4c78d5407ed67d947254e62
|
| --- /dev/null
|
| +++ b/frontend/client/src/autotest/planner/TestPlanSelectorDisplay.java
|
| @@ -0,0 +1,41 @@
|
| +package autotest.planner;
|
| +
|
| +import autotest.common.Utils;
|
| +
|
| +import com.google.gwt.event.dom.client.HasClickHandlers;
|
| +import com.google.gwt.event.dom.client.HasKeyPressHandlers;
|
| +import com.google.gwt.user.client.ui.Button;
|
| +import com.google.gwt.user.client.ui.Composite;
|
| +import com.google.gwt.user.client.ui.HTMLPanel;
|
| +import com.google.gwt.user.client.ui.HasText;
|
| +import com.google.gwt.user.client.ui.TextBox;
|
| +
|
| +public class TestPlanSelectorDisplay extends Composite implements TestPlanSelector.Display {
|
| +
|
| + private TextBox inputField;
|
| + private Button show;
|
| +
|
| + public void initialize() {
|
| + HTMLPanel panel = Utils.divToPanel("test_plan_selector");
|
| +
|
| + inputField = new TextBox();
|
| + panel.add(inputField, "test_plan_selector_input");
|
| +
|
| + show = new Button("show");
|
| + panel.add(show, "test_plan_selector_button");
|
| +
|
| + initWidget(panel);
|
| + }
|
| +
|
| + public HasText getInputText() {
|
| + return inputField;
|
| + }
|
| +
|
| + public HasKeyPressHandlers getInputField() {
|
| + return inputField;
|
| + }
|
| +
|
| + public HasClickHandlers getShowButton() {
|
| + return show;
|
| + }
|
| +}
|
|
|