package androidemu.widget;

import androidemu.view.View;

import com.google.gwt.user.client.Element;

public class EditText extends View {

	public EditText(Element element) {
		super(element);
	}

	public void setText(String text) {
		// TODO
	}

	public Object getText() {
		// TODO
		return null;
	}
}

@@ -93,16 +93,62 @@
 Element;
+%0Aimport com.google.gwt.user.client.ui.TextBox;
 %0A%0Apublic
@@ -279,70 +279,116 @@
 %7B%0A%09%09
-// TODO%0A%09%7D%0A%0A%09public Object getText() %7B%0A%09%09// TODO%0A%09%09return null
+TextBox.wrap(element).setText(text);%0A%09%7D%0A%0A%09public Object getText() %7B%0A%09%09return TextBox.wrap(element).getText()
 ;%0A%09%7D

implement set/get text