import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.ProgressBar;
-import org.tizen.installmanager.core.Config;
import org.tizen.installmanager.core.IMFatalException;
import org.tizen.installmanager.core.InstallManager;
import org.tizen.installmanager.lib.ErrorController;
import org.tizen.installmanager.lib.IIMProgressMonitor;
import org.tizen.installmanager.lib.Log;
import org.tizen.installmanager.lib.ProgramController;
-import org.tizen.installmanager.lib.Registry;
import org.tizen.installmanager.pkg.model.PackageSet;
import org.tizen.installmanager.ui.InstallManagerWindow;
import org.tizen.installmanager.ui.dialog.MessageBoxDlg;
import org.tizen.installmanager.ui.dialog.MessageBoxDlg.DialogType;
-import org.tizen.installmanager.ui.page.WelcomePage.RADIO_ACTION;
import org.tizen.installmanager.pkg.model.Package;
/**
* After check selected package list size, start to uninstall.
* @param monitor
*/
- public void uninstallProcess(IIMProgressMonitor monitor) {
- boolean result = false;
-
+ public void uninstallProcess(IIMProgressMonitor monitor) { boolean result = false;
+ Log.log("****** Uninstall SDK ******");
PackageSet pkgs = InstallManager.getInstance().getPackageManager().getInstalledPackages();
List<String> installedList = new ArrayList<String>();
for (Package pkg : pkgs) {
if (installedList.size() <= 0) {
return;
} else {
+ Log.log("Uninstalling SDK : " + viewController.getInstalledPath());
result = viewController.uninstall(installedList, monitor);
}