@Test public void testAddHelpContent() throws Exception { final String title = "title"; final String content = "content"; final Placement p = Placement.BOTTOM; presenter.addHelpContent(title, content, p); verify(view, times(1)).addHelpContent(title, content, p); verify(view, times(0)).setValue(anyString()); verify(view, times(0)).clearError(); verify(view, times(0)).showError(any(SafeHtml.class)); verify(view, times(0)).init(presenter); }
public void addHelpContent(final String title, final String content, final Placement placement) { view.addHelpContent(title, content, placement); }
ValueBoxEditor implements IsWidget, LeafAttributeEditor<T> { public void addHelpContent(final String title, final String content, final Placement placement) { view.addHelpContent(title, content, placement); } }
ValueBoxEditor implements IsWidget, LeafAttributeEditor<T> { public void addHelpContent(final String title, final String content, final Placement placement) { view.addHelpContent(title, content, placement); } @Inject  ValueBoxEditor(final View<T> view,
                          final Event<org.dashbuilder.common.client.event.ValueChangeEvent<T>> valueChangeEvent); }
ValueBoxEditor implements IsWidget, LeafAttributeEditor<T> { public void addHelpContent(final String title, final String content, final Placement placement) { view.addHelpContent(title, content, placement); } @Inject  ValueBoxEditor(final View<T> view,
                          final Event<org.dashbuilder.common.client.event.ValueChangeEvent<T>> valueChangeEvent); @PostConstruct void init(); void addHelpContent(final String title, final String content, final Placement placement); @Override void showErrors(List<EditorError> errors); @Override Widget asWidget(); @Override void setValue(T value); @Override T getValue(); }
ValueBoxEditor implements IsWidget, LeafAttributeEditor<T> { public void addHelpContent(final String title, final String content, final Placement placement) { view.addHelpContent(title, content, placement); } @Inject  ValueBoxEditor(final View<T> view,
                          final Event<org.dashbuilder.common.client.event.ValueChangeEvent<T>> valueChangeEvent); @PostConstruct void init(); void addHelpContent(final String title, final String content, final Placement placement); @Override void showErrors(List<EditorError> errors); @Override Widget asWidget(); @Override void setValue(T value); @Override T getValue(); public View<T> view; }