public abstract class MavenDiscoveryUi extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
install(List<org.eclipse.equinox.internal.p2.discovery.model.CatalogItem> descriptors,
org.eclipse.jface.operation.IRunnableWithProgress postInstallHook,
org.eclipse.jface.operation.IRunnableContext context)
Installs specified
|
static int |
openInstallWizard(RestartInstallOperation operation,
boolean blockOnOpen) |
public static boolean install(List<org.eclipse.equinox.internal.p2.discovery.model.CatalogItem> descriptors, org.eclipse.jface.operation.IRunnableWithProgress postInstallHook, org.eclipse.jface.operation.IRunnableContext context) throws org.eclipse.core.runtime.CoreException
descriptors
- is the list of catalog items to installpostInstallHook
- additional operation to perform after installation has completed and before restart, can be
nullcontext
- org.eclipse.core.runtime.CoreException
public static int openInstallWizard(RestartInstallOperation operation, boolean blockOnOpen)
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.