org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/wizards/AptanaProjectsImportWizard.java
changeset 3 d3477de62514
child 11 05e53cfc29d8
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/wizards/AptanaProjectsImportWizard.java	Thu Jan 07 13:39:47 2010 -0800
@@ -0,0 +1,57 @@
+/**
+ * Copyright (c) 2009 Symbian Foundation and/or its subsidiary(-ies).
+ * All rights reserved.
+ * This component and the accompanying materials are made available
+ * under the terms of the License "Eclipse Public License v1.0"
+ * which accompanies this distribution, and is available
+ * at the URL "http://www.eclipse.org/legal/epl-v10.html".
+ *
+ * Initial Contributors:
+ * Symbian Foundation - initial contribution.
+ * Contributors:
+ * Description:
+ * Overview:
+ * Details:
+ * Platforms/Drives/Compatibility:
+ * Assumptions/Requirement/Pre-requisites:
+ * Failures and causes:
+ */
+package org.symbian.tools.wrttools.wizards;
+
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.jface.wizard.Wizard;
+import org.eclipse.ui.IImportWizard;
+import org.eclipse.ui.IWorkbench;
+
+public class AptanaProjectsImportWizard extends Wizard implements IImportWizard {
+
+	private AptanaProjectLocationWizardPage mainPage;
+
+	public AptanaProjectsImportWizard() {
+		setWindowTitle("Import Aptana Project");
+	}
+
+	@Override
+	public boolean performCancel() {
+		mainPage.performCancel();
+		return true;
+	}
+
+	@Override
+	public boolean performFinish() {
+		return mainPage.createProjects();
+	}
+
+	@Override
+	public void addPages() {
+		mainPage = new AptanaProjectLocationWizardPage();
+		addPage(mainPage);
+	}
+	
+	@Override
+	public void init(IWorkbench workbench, IStructuredSelection selection) {
+		// TODO Auto-generated method stub
+
+	}
+
+}