commitCommentArea = new CommitCommentArea(this, null, Policy.bind("BranchTagDialog.enterComment"));
try { commentProperties = CommentProperties.getCommentProperties(resource); projectProperties = ProjectProperties.getProjectProperties(resource); } catch (SVNException e) {} commitCommentArea = new CommitCommentArea(this, null, Policy.bind("BranchTagDialog.enterComment"), commentProperties); if ((commentProperties != null) && (commentProperties.getMinimumLogMessageSize() != 0)) { ModifyListener modifyListener = new ModifyListener() { public void modifyText(ModifyEvent e) { setOkButtonStatus(); } }; commitCommentArea.setModifyListener(modifyListener); }
    public BranchTagDialog(Shell parentShell, IResource resource) {        super(parentShell);		int shellStyle = getShellStyle();		setShellStyle(shellStyle | SWT.RESIZE);		commitCommentArea = new CommitCommentArea(this, null, Policy.bind("BranchTagDialog.enterComment"));        //$NON-NLS-1$        this.resource = resource;    }