class CopyPopupPresenter {

    public void save() {
        if (view.getNewTemplateName().trim().isEmpty()) {
            view.errorOnTemplateNameFromGroup();
            return;
        }
        command.execute(view.getNewTemplateName());
    }

    @Inject public  CopyPopupPresenter(final View view);

}