class DataSetDefEditorPresenter extends BaseEditor {

    void onCancelEvent(@Observes CancelRequestEvent cancelEvent) {
        checkNotNull("cancelEvent",
                     cancelEvent);
        if (cancelEvent.getContext().equals(workflow)) {
            workflow.clear();
        }
    }

}