@Test public void testInit() throws Exception { presenter.init(); verify(view, times(1)).init(presenter); verify(view, times(1)).setAddText(anyString()); verify(view, times(1)).setEmptyText(anyString()); verify(view, times(1)).addButtonColumn(anyInt(), anyString(), anyInt()); verify(view, times(2)).addTextColumn(anyInt(), anyString(), anyBoolean(), anyInt()); verify(view, times(0)).clearError(); verify(view, times(0)).removeColumn(anyInt()); verify(view, times(0)).showError(any(SafeHtml.class)); verify(view, times(0)).setData(anyList()); verify(view, times(0)).setRowCount(anyInt()); }
@PostConstruct public void init() { view.init(this); view.setAddText(DashbuilderCommonConstants.INSTANCE.add()); initDataGrid(); }
MapEditor implements IsWidget, LeafAttributeEditor<Map<String, String>> { @PostConstruct public void init() { view.init(this); view.setAddText(DashbuilderCommonConstants.INSTANCE.add()); initDataGrid(); } }
MapEditor implements IsWidget, LeafAttributeEditor<Map<String, String>> { @PostConstruct public void init() { view.init(this); view.setAddText(DashbuilderCommonConstants.INSTANCE.add()); initDataGrid(); } @Inject  MapEditor(final View view,
                     final Event<org.dashbuilder.common.client.event.ValueChangeEvent<Map<String, String>>> valueChangeEvent); }
MapEditor implements IsWidget, LeafAttributeEditor<Map<String, String>> { @PostConstruct public void init() { view.init(this); view.setAddText(DashbuilderCommonConstants.INSTANCE.add()); initDataGrid(); } @Inject  MapEditor(final View view,
                     final Event<org.dashbuilder.common.client.event.ValueChangeEvent<Map<String, String>>> valueChangeEvent); @PostConstruct void init(); @Override void showErrors(final List<EditorError> errors); @Override Widget asWidget(); @Override void setValue(final Map<String, String> value); @Override Map<String, String> getValue(); }
MapEditor implements IsWidget, LeafAttributeEditor<Map<String, String>> { @PostConstruct public void init() { view.init(this); view.setAddText(DashbuilderCommonConstants.INSTANCE.add()); initDataGrid(); } @Inject  MapEditor(final View view,
                     final Event<org.dashbuilder.common.client.event.ValueChangeEvent<Map<String, String>>> valueChangeEvent); @PostConstruct void init(); @Override void showErrors(final List<EditorError> errors); @Override Widget asWidget(); @Override void setValue(final Map<String, String> value); @Override Map<String, String> getValue(); public View view; }