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

    void onFilterChangedEvent(@Observes FilterChangedEvent filterChangedEvent) {
        checkNotNull("filterChangedEvent",
                     filterChangedEvent);
        if (filterChangedEvent.getContext().equals(dataSetFilterEditor)) {
            final DataSetFilter old = filterChangedEvent.getOldFilter();
            final DataSetFilter f = filterChangedEvent.getFilter();
            updateColumnsRestrictedByFilter(old,
                                            f);
        }
    }

    @Inject public  DataSetDefColumnsFilterEditor(final DataSetDefColumnsEditor columnsEditor,
                                         final DataSetDefFilterEditor dataSetFilterEditor,
                                         final View view);

}