core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/internal/discovery/ui/extension/AbstractDiscoveryPortalPageLayer.java
equal
deleted
inserted
replaced
304 artifactManager.addRepository(uri); |
304 artifactManager.addRepository(uri); |
305 } |
305 } |
306 IHandlerService handlerService = |
306 IHandlerService handlerService = |
307 (IHandlerService) PlatformUI.getWorkbench().getService(IHandlerService.class); |
307 (IHandlerService) PlatformUI.getWorkbench().getService(IHandlerService.class); |
308 try { |
308 try { |
309 handlerService.executeCommand("org.eclipse.equinox.p2.ui.sdk.install", null); |
309 handlerService.executeCommand("org.eclipse.equinox.p2.ui.sdk.install", null); //$NON-NLS-1$ |
310 } catch (Exception e) { |
310 } catch (Exception e) { |
311 Activator.logError("Could not open install wizard", e); |
311 Activator.logError(Messages.AbstractDiscoveryPortalPageLayer_P2InstallWizardOpenError, e); |
312 } |
312 } |
313 } |
313 } |
314 |
314 |
315 protected static Collection<URI> getSiteURIs(List<CatalogItem> catalogItems) { |
315 protected static Collection<URI> getSiteURIs(List<CatalogItem> catalogItems) { |
316 Set<URI> uris = new HashSet<URI>(); |
316 Set<URI> uris = new HashSet<URI>(); |