@Test public void testInit() throws Exception { presenter.init(); verify(view, times(1)).init(presenter); verify(view, times(0)).clearError(); verify(view, times(0)).showError(any(SafeHtml.class)); verify(view, times(0)).setValue(anyBoolean()); }
@PostConstruct public void init() { view.init(this); }
ToggleSwitchEditor implements IsWidget, LeafAttributeEditor<Boolean> { @PostConstruct public void init() { view.init(this); } }
ToggleSwitchEditor implements IsWidget, LeafAttributeEditor<Boolean> { @PostConstruct public void init() { view.init(this); } @Inject  ToggleSwitchEditor(final View view,
                              final Event<org.dashbuilder.common.client.event.ValueChangeEvent<Boolean>> valueChangeEvent); }
ToggleSwitchEditor implements IsWidget, LeafAttributeEditor<Boolean> { @PostConstruct public void init() { view.init(this); } @Inject  ToggleSwitchEditor(final View view,
                              final Event<org.dashbuilder.common.client.event.ValueChangeEvent<Boolean>> valueChangeEvent); @PostConstruct void init(); void setEnabled(final boolean isEnabled); @Override void showErrors(List<EditorError> errors); @Override Widget asWidget(); @Override void setValue(Boolean value); @Override Boolean getValue(); }
ToggleSwitchEditor implements IsWidget, LeafAttributeEditor<Boolean> { @PostConstruct public void init() { view.init(this); } @Inject  ToggleSwitchEditor(final View view,
                              final Event<org.dashbuilder.common.client.event.ValueChangeEvent<Boolean>> valueChangeEvent); @PostConstruct void init(); void setEnabled(final boolean isEnabled); @Override void showErrors(List<EditorError> errors); @Override Widget asWidget(); @Override void setValue(Boolean value); @Override Boolean getValue(); public View view; }