diff options
Diffstat (limited to 'examples/org.eclipse.equinox.p2.examples.rcp.sdkbundlevisibility/src/org/eclipse/equinox/p2/examples/rcp/sdkbundlevisibility/p2/InstallNewSoftwareHandler.java')
-rw-r--r-- | examples/org.eclipse.equinox.p2.examples.rcp.sdkbundlevisibility/src/org/eclipse/equinox/p2/examples/rcp/sdkbundlevisibility/p2/InstallNewSoftwareHandler.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/org.eclipse.equinox.p2.examples.rcp.sdkbundlevisibility/src/org/eclipse/equinox/p2/examples/rcp/sdkbundlevisibility/p2/InstallNewSoftwareHandler.java b/examples/org.eclipse.equinox.p2.examples.rcp.sdkbundlevisibility/src/org/eclipse/equinox/p2/examples/rcp/sdkbundlevisibility/p2/InstallNewSoftwareHandler.java index 2799720b2..c9fceb806 100644 --- a/examples/org.eclipse.equinox.p2.examples.rcp.sdkbundlevisibility/src/org/eclipse/equinox/p2/examples/rcp/sdkbundlevisibility/p2/InstallNewSoftwareHandler.java +++ b/examples/org.eclipse.equinox.p2.examples.rcp.sdkbundlevisibility/src/org/eclipse/equinox/p2/examples/rcp/sdkbundlevisibility/p2/InstallNewSoftwareHandler.java @@ -30,10 +30,12 @@ public class InstallNewSoftwareHandler extends PreloadingRepositoryHandler { super(); } + @Override protected void doExecute(LoadMetadataRepositoryJob job) { getProvisioningUI().openInstallWizard(null, null, job); } + @Override protected boolean waitForPreload() { // If the user cannot see repositories, then we may as well wait // for existing repos to load so that content is available. @@ -42,6 +44,7 @@ public class InstallNewSoftwareHandler extends PreloadingRepositoryHandler { return !getProvisioningUI().getPolicy().getRepositoriesVisible(); } + @Override protected void setLoadJobProperties(Job loadJob) { super.setLoadJobProperties(loadJob); // If we are doing a background load, we do not wish to authenticate, as the |