nextButton.setText(prefsUtils.getMsg("gadgetLabelNext"));
final HomeViewMainPanel mainPanel = new HomeViewMainPanel();
final HorizontalPanel addItemPanel = new HorizontalPanel();
final DisclosurePanel addDisclosurePanel = new DisclosurePanel();
final VerticalPanel bookMark = new VerticalPanel();
final TextBox bookMarkUrl = new TextBox();
bookMarkUrl.setValue("http://");
bookMarkUrl.setWidth("200px");
final TextBox bookMarkTitle = new TextBox();
bookMarkTitle.setWidth("200px");
bookMark.add(bookMarkUrl);
bookMark.add(bookMarkTitle);
final VerticalPanel bookMarkType = new VerticalPanel();
final RadioButton typePrivate = new RadioButton("priorityFilter",
prefsUtils.getMsg("gadgetLabelHigh"));
final RadioButton typePublic = new RadioButton("priorityFilter",
prefsUtils.getMsg("gadgetLabelMedium"));
typePrivate.setValue(true);
bookMarkType.add(typePrivate);
bookMarkType.add(typePublic);
final Button saveButton = new Button(
prefsUtils.getMsg("gadgetLabelSave"));
addItemPanel.setVerticalAlignment(HasVerticalAlignment.ALIGN_BOTTOM);
addItemPanel.add(bookMark);
//addItemPanel.add(new HTML(" "));
//addItemPanel.add(bookMarkType);
addItemPanel.add(new HTML(" "));
addItemPanel.add(saveButton);
addDisclosurePanel.add(addItemPanel);
ActionLabel add = new ActionLabel(prefsUtils.getMsg("gadgetLabelAdd"));
add.setTitle(prefsUtils.getMsg("gadgetLabelAdd"));
add.setStyleName("gadglet-ActionLabel");
addDisclosurePanel.setHeader(add);
mainPanel.add(addDisclosurePanel);
mainPanel.add(results);