Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSusan Franklin2009-12-10 00:24:36 +0000
committerSusan Franklin2009-12-10 00:24:36 +0000
commit0ec869ee976f47dda6a2a1072cb251bb169df5d5 (patch)
tree33b902a8dc2290387fc758c9a4420d5d571091da
parent0f9ecc4ecff4d01308aba6f03c26fb4411ff9bec (diff)
downloadrt.equinox.p2-0ec869ee976f47dda6a2a1072cb251bb169df5d5.tar.gz
rt.equinox.p2-0ec869ee976f47dda6a2a1072cb251bb169df5d5.tar.xz
rt.equinox.p2-0ec869ee976f47dda6a2a1072cb251bb169df5d5.zip
Bug 296394 - [ui] Finish button enabled on first page
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ResolutionResultsWizardPage.java1
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ResolutionStatusPage.java2
2 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ResolutionResultsWizardPage.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ResolutionResultsWizardPage.java
index c30351013..4bbfea477 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ResolutionResultsWizardPage.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ResolutionResultsWizardPage.java
@@ -59,6 +59,7 @@ public abstract class ResolutionResultsWizardPage extends ResolutionStatusPage {
this.input = new IUElementListRoot();
else
this.input = input;
+ updateStatus(input, resolvedOperation);
}
/*
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ResolutionStatusPage.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ResolutionStatusPage.java
index 1705cec89..0c7fad04b 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ResolutionStatusPage.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ResolutionStatusPage.java
@@ -66,7 +66,7 @@ public abstract class ResolutionStatusPage extends ProvisioningWizardPage {
updateCaches(newRoot, op);
int messageType = IMessageProvider.NONE;
- boolean pageComplete = true;
+ boolean pageComplete = op != null;
if (currentStatus != null && !currentStatus.isOK()) {
messageType = IMessageProvider.INFORMATION;
int severity = currentStatus.getSeverity();

Back to the top