// Path: com.github.jarlakxen.scala.sbt/src/com/github/jarlakxen/scala/sbt/wizard/migrate/MigrationWizard.java
// public class MigrationWizard extends Wizard {
// 	
// 	private MigrateToSbtProjectConfiguration configuration = MigrateToSbtProjectConfiguration.getDefault();
// 	
// 	public MigrationWizard(IProject project){
// 		configuration.setProject(project);
// 		setWindowTitle("Add SBT Nature");
// 		setNeedsProgressMonitor(true);
// 	}
// 
// 	@Override
// 	public void addPages() {
// 		addPage(new MigrationWizardPage(configuration));
// 	}
// 
// 	@Override
// 	public boolean performFinish() {
// 		
// 		try {
// 			MigrateToSbtProjectJob job = new MigrateToSbtProjectJob(configuration);
// 			job.schedule();
// 			return true;
// 		} catch (Exception e) {
// 			UIUtil.showErrorDialog(e.toString());
// 			SbtPlugin.logException(e);
// 			return false;
// 		}
// 	}
// }


import org.eclipse.core.resources.IProject;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.wizard.WizardDialog;
import org.eclipse.ui.IObjectActionDelegate;
import org.eclipse.ui.IWorkbenchPart;
import com.github.jarlakxen.scala.sbt.wizard.migrate.MigrationWizard;

package com.github.jarlakxen.scala.sbt.action;



/**
 * Migrates the selected SBT project to ScalaIDE.
 *
 * @author Naoki Takezoe
 */
public class MigrateAction implements IObjectActionDelegate {

	private IProject project;

// Path: com.github.jarlakxen.scala.sbt/src/com/github/jarlakxen/scala/sbt/wizard/migrate/MigrationWizard.java
// public class MigrationWizard extends Wizard {
// 	
// 	private MigrateToSbtProjectConfiguration configuration = MigrateToSbtProjectConfiguration.getDefault();
// 	
// 	public MigrationWizard(IProject project){
// 		configuration.setProject(project);
// 		setWindowTitle("Add SBT Nature");
// 		setNeedsProgressMonitor(true);
// 	}
// 
// 	@Override
// 	public void addPages() {
// 		addPage(new MigrationWizardPage(configuration));
// 	}
// 
// 	@Override
// 	public boolean performFinish() {
// 		
// 		try {
// 			MigrateToSbtProjectJob job = new MigrateToSbtProjectJob(configuration);
// 			job.schedule();
// 			return true;
// 		} catch (Exception e) {
// 			UIUtil.showErrorDialog(e.toString());
// 			SbtPlugin.logException(e);
// 			return false;
// 		}
// 	}
// }


// Path: com.github.jarlakxen.scala.sbt/src/com/github/jarlakxen/scala/sbt/action/MigrateAction.java
import org.eclipse.core.resources.IProject;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.wizard.WizardDialog;
import org.eclipse.ui.IObjectActionDelegate;
import org.eclipse.ui.IWorkbenchPart;
import com.github.jarlakxen.scala.sbt.wizard.migrate.MigrationWizard;

package com.github.jarlakxen.scala.sbt.action;



/**
 * Migrates the selected SBT project to ScalaIDE.
 *
 * @author Naoki Takezoe
 */
public class MigrateAction implements IObjectActionDelegate {

	private IProject project;

	private IWorkbenchPart targetPart;
