@Test public void testHandleAddVarButton() { view.init(presenter); view.handleAddVarButton(mock(ClickEvent.class)); verify(presenter, times(1)).addVariable(); }
@EventHandler("addVarButton") public void handleAddVarButton(final ClickEvent e) { presenter.addVariable(); }
VariablesEditorWidgetViewImpl extends Composite implements VariablesEditorWidgetView,
                                                                        HasValue<String> { @EventHandler("addVarButton") public void handleAddVarButton(final ClickEvent e) { presenter.addVariable(); } }
VariablesEditorWidgetViewImpl extends Composite implements VariablesEditorWidgetView,
                                                                        HasValue<String> { @EventHandler("addVarButton") public void handleAddVarButton(final ClickEvent e) { presenter.addVariable(); }  }
VariablesEditorWidgetViewImpl extends Composite implements VariablesEditorWidgetView,
                                                                        HasValue<String> { @EventHandler("addVarButton") public void handleAddVarButton(final ClickEvent e) { presenter.addVariable(); }  void setTagsth(TableCellElement tagsth); void setTagsDisabled(boolean tagsDisabled); @Override String getValue(); @Override void setValue(final String value); @Override void setValue(final String value,
                         final boolean fireEvents); @Override void doSave(); @Override HandlerRegistration addValueChangeHandler(final ValueChangeHandler<String> handler); boolean isDuplicateName(final String name); @Override void init(final Presenter presenter); @Override void setReadOnly(final boolean readOnly); @Override int getVariableRowsCount(); @Override void setTableDisplayStyle(); @Override void setNoneDisplayStyle(); @Override void setVariableRows(final List<VariableRow> rows); @Override List<VariableRow> getVariableRows(); @Override VariableListItemWidgetView getVariableWidget(final int index); @Override void setVariablesDataTypes(final ListBoxValues dataTypeListBoxValues); @EventHandler("addVarButton") void handleAddVarButton(final ClickEvent e); void removeVariable(final VariableRow variableRow); @Override void setTagsNotEnabled(); }
VariablesEditorWidgetViewImpl extends Composite implements VariablesEditorWidgetView,
                                                                        HasValue<String> { @EventHandler("addVarButton") public void handleAddVarButton(final ClickEvent e) { presenter.addVariable(); }  void setTagsth(TableCellElement tagsth); void setTagsDisabled(boolean tagsDisabled); @Override String getValue(); @Override void setValue(final String value); @Override void setValue(final String value,
                         final boolean fireEvents); @Override void doSave(); @Override HandlerRegistration addValueChangeHandler(final ValueChangeHandler<String> handler); boolean isDuplicateName(final String name); @Override void init(final Presenter presenter); @Override void setReadOnly(final boolean readOnly); @Override int getVariableRowsCount(); @Override void setTableDisplayStyle(); @Override void setNoneDisplayStyle(); @Override void setVariableRows(final List<VariableRow> rows); @Override List<VariableRow> getVariableRows(); @Override VariableListItemWidgetView getVariableWidget(final int index); @Override void setVariablesDataTypes(final ListBoxValues dataTypeListBoxValues); @EventHandler("addVarButton") void handleAddVarButton(final ClickEvent e); void removeVariable(final VariableRow variableRow); @Override void setTagsNotEnabled();  }