1 11 package org.eclipse.update.core; 12 13 import org.eclipse.core.runtime.CoreException; 14 import org.eclipse.core.runtime.IProgressMonitor; 15 16 37 public interface IInstallHandler { 38 39 43 public static final int HANDLER_ACTION_INSTALL = 1; 44 45 49 public static final int HANDLER_ACTION_CONFIGURE = 2; 50 51 55 public static final int HANDLER_ACTION_UNCONFIGURE = 3; 56 57 61 public static final int HANDLER_ACTION_UNINSTALL = 4; 62 63 75 public void initialize( 76 int type, 77 IFeature feature, 78 IInstallHandlerEntry entry, 79 InstallMonitor monitor) 80 throws CoreException; 81 82 90 public void installInitiated() throws CoreException; 91 92 102 public void pluginsDownloaded(IPluginEntry[] plugins) throws CoreException; 103 104 116 public void nonPluginDataDownloaded( 117 INonPluginEntry[] nonPluginData, 118 IVerificationListener listener) 119 throws CoreException; 120 121 138 public void completeInstall(IFeatureContentConsumer consumer) 139 throws CoreException; 140 141 149 public void installCompleted(boolean success) throws CoreException; 150 151 158 public void configureInitiated() throws CoreException; 159 160 170 public void completeConfigure() throws CoreException; 171 172 180 public void configureCompleted(boolean success) throws CoreException; 181 182 189 public void unconfigureInitiated() throws CoreException; 190 191 201 public void completeUnconfigure() throws CoreException; 202 203 211 public void unconfigureCompleted(boolean success) throws CoreException; 212 213 220 public void uninstallInitiated() throws CoreException; 221 222 234 public void completeUninstall() throws CoreException; 235 236 244 public void uninstallCompleted(boolean success) throws CoreException; 245 } 246 | Popular Tags |