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

    void onValueChanged(@Observes DataSetFilterChangedEvent event) {

        // Set the new value.
        DataSetFilter before = this.value;
        setValue(event.getFilter());

        // Fire the value change event.
        filterChangedEvent.fire(new FilterChangedEvent(DataSetDefFilterEditor.this, before, value));

    }

    @Inject public  DataSetDefFilterEditor(View view, DataSetFilterEditor filterEditor, final Event<FilterChangedEvent> filterChangedEvent);

}