class ColumnListEditor implements IsWidget, org.dashbuilder.dataset.client.editor.ColumnListEditor {

    @Override
    public void setAcceptableValues(final List<DataColumnDef> acceptableValues) {

        clear();

        // Register column editor for each available column of the data set.
        this.acceptableColumns = new LinkedList<DataColumnDef>(acceptableValues);
        int index = 0;
        for (final DataColumnDef columnDef : this.acceptableColumns ) {
            org.dashbuilder.client.widgets.dataset.editor.column.DataColumnDefEditor editor = createDummyColumnEditor(columnDef);
            view.insert(index, editor.view, false, true, null);
            index++;
        }
    }

    @Inject public  ColumnListEditor(final SyncBeanManager beanManager,
                            final DataColumnDefDriver dataColumnDefDriver,
                            final Event<ColumnsChangedEvent> columnsChangedEvent,
                            final View view);

}