@Test public void testSetOriginalColumnType() { ColumnType type = mock(ColumnType.class); presenter.setOriginalColumnType(type); verify(columnType, times(1)).setOriginalColumnType(type); verify(view, times(0)).init(presenter); verify(view, times(0)).initWidgets(any(ValueBoxEditor.View.class), any(IsWidget.class)); verify(columnType, times(0)).isEditMode(anyBoolean()); }
@Override public void setOriginalColumnType(final ColumnType columnType) { this.columnType.setOriginalColumnType(columnType); }
DataColumnDefEditor implements IsWidget, org.dashbuilder.dataset.client.editor.DataColumnDefEditor { @Override public void setOriginalColumnType(final ColumnType columnType) { this.columnType.setOriginalColumnType(columnType); } }
DataColumnDefEditor implements IsWidget, org.dashbuilder.dataset.client.editor.DataColumnDefEditor { @Override public void setOriginalColumnType(final ColumnType columnType) { this.columnType.setOriginalColumnType(columnType); } @Inject  DataColumnDefEditor(final ValueBoxEditor<String> id,
                               final ColumnTypeEditor columnType,
                               final View view); }
DataColumnDefEditor implements IsWidget, org.dashbuilder.dataset.client.editor.DataColumnDefEditor { @Override public void setOriginalColumnType(final ColumnType columnType) { this.columnType.setOriginalColumnType(columnType); } @Inject  DataColumnDefEditor(final ValueBoxEditor<String> id,
                               final ColumnTypeEditor columnType,
                               final View view); @PostConstruct void init(); @Override Widget asWidget(); @Override void removeFromParent(); @Override void setProviderType(final DataSetProviderType type); @Override void setOriginalColumnType(final ColumnType columnType); @Override void isEditMode(final boolean isEdit); @Override ValueBoxEditor<String> id(); @Override org.dashbuilder.dataset.client.editor.ColumnTypeEditor columnType(); }
DataColumnDefEditor implements IsWidget, org.dashbuilder.dataset.client.editor.DataColumnDefEditor { @Override public void setOriginalColumnType(final ColumnType columnType) { this.columnType.setOriginalColumnType(columnType); } @Inject  DataColumnDefEditor(final ValueBoxEditor<String> id,
                               final ColumnTypeEditor columnType,
                               final View view); @PostConstruct void init(); @Override Widget asWidget(); @Override void removeFromParent(); @Override void setProviderType(final DataSetProviderType type); @Override void setOriginalColumnType(final ColumnType columnType); @Override void isEditMode(final boolean isEdit); @Override ValueBoxEditor<String> id(); @Override org.dashbuilder.dataset.client.editor.ColumnTypeEditor columnType(); public View view; }