| package org.eclipse.epp.installer.core.operations; |
| |
| import org.eclipse.epp.installer.core.InstallOptions; |
| import org.eclipse.epp.installer.internal.core.operations.ProxyOperation; |
| |
| |
| /** |
| * RegisterProductOperation used to create correct OS specific uninstall product |
| * entry. |
| * <p> |
| * On Windows, this classes is overridden to write to the Windows registry, so |
| * user will be able to uninstall application from Windows Add/Remove proggrams |
| * dialog. |
| * <p> |
| * On Linux, this classes is overridden to write to the Markers IBM registry. |
| * <p> |
| * On Mac ?? |
| * |
| */ |
| public class RegisterProductOperation extends ProxyOperation { |
| /** |
| * Install options used in this operation to get values of Product Name and |
| * Install directory. |
| */ |
| private InstallOptions options; |
| |
| /** |
| * Uninstaller jar file name. |
| */ |
| private String uninstallJar; |
| |
| |
| public RegisterProductOperation(InstallOptions options, String uninstallJar) { |
| this.options = options; |
| this.uninstallJar = uninstallJar; |
| } |
| |
| public InstallOptions getInstallOptions() { |
| return this.options; |
| } |
| public String getUninstallJarName() { |
| return this.uninstallJar; |
| } |
| } |