class RenamePopUpPresenter {

    public void rename(final String newName) {

        final String fileName = newFileName(newName);
        final String comment = toggleCommentPresenter.getComment();
        final ValidatorWithReasonCallback callback = validatorCallback(comment, newName, renameCommand);

        validator.validate(fileName, callback);
    }

    @Inject public  RenamePopUpPresenter(final View view,
                                final ToggleCommentPresenter toggleCommentPresenter);

}