class DataModelerScreenPresenter extends KieEditor<String> {

    protected void save() {
        validationService.call(checkMessages -> {
            if (((List<ValidationMessage>) checkMessages).isEmpty()) {
                checkDirtyAndSaveFile();
            } else {
                validationPopup.showSaveValidationMessages(() -> checkDirtyAndSaveFile(),
                                                           () -> {
                                                           },
                                                           (List<ValidationMessage>) checkMessages);
            }
        }).validateForSave(versionRecordManager.getPathToLatest(),
                           context.getDataObject());
    }

    @Inject public  DataModelerScreenPresenter(DataModelerScreenView baseView,
                                      SessionInfo sessionInfo);

}