Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2007-07-10 18:12:45 +0000
committerMichael Valenta2007-07-10 18:12:45 +0000
commit7733fd9b82f78185b07a084276113e7eecaeee83 (patch)
tree3ee3bf72a6a0190da5fa4776a120e8061666ca38 /bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/CommitWizard.java
parent6a7e6f8172d9661b2d78fa8ea85ea6d8159c1da9 (diff)
downloadeclipse.platform.team-7733fd9b82f78185b07a084276113e7eecaeee83.tar.gz
eclipse.platform.team-7733fd9b82f78185b07a084276113e7eecaeee83.tar.xz
eclipse.platform.team-7733fd9b82f78185b07a084276113e7eecaeee83.zip
Bug 166333 [Wizards] Show diff in CVS commit dialog
Diffstat (limited to 'bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/CommitWizard.java')
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/CommitWizard.java12
1 files changed, 11 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/CommitWizard.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/CommitWizard.java
index 1ff743d2c..7beb693a9 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/CommitWizard.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/CommitWizard.java
@@ -165,8 +165,9 @@ public class CommitWizard extends ResizableWizard {
public CommitWizard(final IResource [] resources) throws CVSException {
- super(CVSUIMessages.CommitWizard_3, CVSUIPlugin.getPlugin().getDialogSettings());
+ super(CVSUIMessages.CommitWizard_3, CVSUIPlugin.getPlugin().getDialogSettings());
+ setNeedsProgressMonitor(true);
setWindowTitle(CVSUIMessages.CommitWizard_2);
setDefaultPageImageDescriptor(CVSUIPlugin.getPlugin().getImageDescriptor(ICVSUIConstants.IMG_WIZBAN_NEW_LOCATION));
@@ -294,8 +295,17 @@ public class CommitWizard extends ResizableWizard {
return false;
}
+ fCommitPage.finish();
return super.performFinish();
}
+
+ /* (non-Javadoc)
+ * @see org.eclipse.team.internal.ccvs.ui.wizards.ResizableWizard#performCancel()
+ */
+ public boolean performCancel() {
+ fCommitPage.finish();
+ return super.performCancel();
+ }
public void addPages() {

Back to the top