@@ -0,0 +1,898 @@
+package org.jboss.as.console.client.widgets.forms;%0A%0Aimport com.google.gwt.event.dom.client.ClickHandler;%0Aimport com.google.gwt.user.client.ui.Widget;%0Aimport org.jboss.as.console.client.widgets.DefaultButton;%0A%0A/**%0A * @author Heiko Braun%0A * @date 3/9/11%0A */%0Apublic class ButtonItem extends FormItem%3CBoolean%3E %7B%0A%0A    protected DefaultButton button;%0A%0A    public ButtonItem(String name, String title) %7B%0A        super(name, title);%0A        this.button = new DefaultButton(title);%0A    %7D%0A%0A    @Override%0A    public Boolean getValue() %7B%0A        return true;%0A    %7D%0A%0A    @Override%0A    public void setValue(Boolean value) %7B%0A%0A    %7D%0A%0A    @Override%0A    public Widget asWidget() %7B%0A        return button;%0A    %7D%0A%0A    @Override%0A    public void setEnabled(boolean b) %7B%0A        button.setEnabled(b);%0A    %7D%0A%0A    public void addClickHandler(ClickHandler handler)%0A    %7B%0A        this.button.addClickHandler(handler);%0A    %7D%0A%7D%0A

Introduce ButtonItem (form elements)