private TextBox buildParameterTextBox(String text) { TextBox paramBox = new TextBox(); paramBox.setText(text); paramBox.setWidth("135"); paramBox.addChangeHandler( new ChangeHandler() { public void onChange(ChangeEvent event) { enableSaveButton(); } }); return paramBox; }
private String getParameterValue(HorizontalPanel entry) { TextBox key = (TextBox) entry.getWidget(2); return key.getText(); }