if(switchAfterBranchTagCheckBox != null) { switchAfterBranchTag = switchAfterBranchTagCheckBox.getSelection(); }
    protected void okPressed() {        if (projectProperties != null) {            issue = issueText.getText().trim();            if (projectProperties.isWarnIfNoIssue() && (issueText.getText().trim().length() == 0)) {                if (!MessageDialog.openQuestion(getShell(), Policy.bind("BranchTagDialog.title"), Policy.bind("BranchTagDialog.0", projectProperties.getLabel()))) { //$NON-NLS-1$ //$NON-NLS-2$                    issueText.setFocus();                    return;                }            }            if (issueText.getText().trim().length() > 0) {                String issueError = projectProperties.validateIssue(issueText.getText().trim());                if (issueError != null) {                    MessageDialog.openError(getShell(), Policy.bind("BranchTagDialog.title"), issueError); //$NON-NLS-1$                    issueText.selectAll();                    issueText.setFocus();                    return;                }            }        }                toUrlCombo.saveUrl();        createOnServer = !workingCopyButton.getSelection();        specificRevision = revisionButton.getSelection();        comment = commitCommentArea.getComment();        if (serverButton.getSelection()) revision = SVNRevision.HEAD;        try {            toUrl = new SVNUrl(toUrlCombo.getText());            if (revisionButton.getSelection()) revision = SVNRevision.getRevision(revisionText.getText().trim());        } catch (Exception e) {            MessageDialog.openError(getShell(), Policy.bind("BranchTagDialog.title"), e.getMessage()); //$NON-NLS-1$            return;        }        if (resource != null) updateTagsProperty(toUrl);        super.okPressed();    }