blob: c6879deb5137dc4ca02cc7d7c4352e0626dca91a [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.update.internal.operations;
import org.eclipse.update.configuration.IConfiguredSite;
import org.eclipse.update.core.IFeature;
import org.eclipse.update.operations.IOperation;
import org.eclipse.update.operations.OperationsManager;
public class UninstallFeaturesOperation extends BatchFeatureOperation implements
IUninstallFeaturesOperation {
public UninstallFeaturesOperation(IConfiguredSite[] targetSites, IFeature[] features) {
super(targetSites, features);
}
protected IOperation createOperation(IConfiguredSite targetSite, IFeature feature) {
return OperationsManager.getOperationFactory().createUninstallOperation(targetSite, feature);
}
}