diff options
author | Susan Franklin | 2007-10-11 19:06:39 +0000 |
---|---|---|
committer | Susan Franklin | 2007-10-11 19:06:39 +0000 |
commit | 89bae677ef23a6adad13735db6be7008ae160434 (patch) | |
tree | 4ac8b49b08e01da899eb776b243b25373383365f /bundles/org.eclipse.equinox.p2.console | |
parent | 48f2ea960be18897bca114495eddd0a7719fecf1 (diff) | |
download | rt.equinox.p2-89bae677ef23a6adad13735db6be7008ae160434.tar.gz rt.equinox.p2-89bae677ef23a6adad13735db6be7008ae160434.tar.xz rt.equinox.p2-89bae677ef23a6adad13735db6be7008ae160434.zip |
Bug 204823 - [prov] [ui] Confusing mixture of entry points and groups in end user UI
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.console')
-rw-r--r-- | bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/ProvisioningHelper.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/ProvisioningHelper.java b/bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/ProvisioningHelper.java index 4ac477d69..8197091fd 100644 --- a/bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/ProvisioningHelper.java +++ b/bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/ProvisioningHelper.java @@ -227,14 +227,14 @@ public class ProvisioningHelper { throw new ProvisionException(error.toString()); } - IDirector2 director = (IDirector2) ServiceHelper.getService(Activator.getContext(), IDirector2.class.getName()); - if (director == null) - throw new ProvisionException("No director service found."); + IPlanner planner = (IPlanner) ServiceHelper.getService(Activator.getContext(), IPlanner.class.getName()); + if (planner == null) + throw new ProvisionException("No planner service found."); Engine engine = (Engine) ServiceHelper.getService(Activator.getContext(), Engine.class.getName()); if (engine == null) throw new ProvisionException("No director service found."); - DirectorResult result = director.install(new IInstallableUnit[] {toInstall}, profile, null, progress); + ProvisioningPlan result = planner.getInstallPlan(new IInstallableUnit[] {toInstall}, profile, progress); if (!result.getStatus().isOK()) return result.getStatus(); |