@Test public void testDefault() throws Exception { items.put("a", createItem("a", false)); items.put("b", createItem("b", true)); items.put("c", createItem("c", false)); presenter.onSelect("a"); presenter.onSelect("b"); presenter.onSelect("c"); verify(view, times(2)).enableMakeDefault(); verify(view).disableMakeDefault(); }
@Override public void onSelect(String fullName) { setSelected(items.get(fullName)); }
ListFormComboPanel implements IsWidget, ListFormComboPanelView.Presenter { @Override public void onSelect(String fullName) { setSelected(items.get(fullName)); } }
ListFormComboPanel implements IsWidget, ListFormComboPanelView.Presenter { @Override public void onSelect(String fullName) { setSelected(items.get(fullName)); } ListFormComboPanel(ListFormComboPanelView view,
            Form<T> form,
            FormPopup namePopup); }
ListFormComboPanel implements IsWidget, ListFormComboPanelView.Presenter { @Override public void onSelect(String fullName) { setSelected(items.get(fullName)); } ListFormComboPanel(ListFormComboPanelView view,
            Form<T> form,
            FormPopup namePopup); @Override Widget asWidget(); void setItems(Map<String, T> sessions); @Override void onSelect(String fullName); @Override void onAdd(); @Override void onRename(); void refresh(); @Override void onRemove(); @Override void onMakeDefault(); }
ListFormComboPanel implements IsWidget, ListFormComboPanelView.Presenter { @Override public void onSelect(String fullName) { setSelected(items.get(fullName)); } ListFormComboPanel(ListFormComboPanelView view,
            Form<T> form,
            FormPopup namePopup); @Override Widget asWidget(); void setItems(Map<String, T> sessions); @Override void onSelect(String fullName); @Override void onAdd(); @Override void onRename(); void refresh(); @Override void onRemove(); @Override void onMakeDefault();  }