1) Fixed issue #858: OpenPHPPerspectiveAction error when creating a new PHP project.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / wizards / TempnewPHPProject.java
index 05cace3..91a03e9 100644 (file)
@@ -1,9 +1,9 @@
 package net.sourceforge.phpeclipse.wizards;
 
-import java.lang.reflect.InvocationTargetException;
+//import java.lang.reflect.InvocationTargetException;
 
 import net.sourceforge.phpdt.core.JavaCore;
-import net.sourceforge.phpdt.internal.ui.util.ExceptionHandler;
+//import net.sourceforge.phpdt.internal.ui.util.ExceptionHandler;
 
 import org.eclipse.core.resources.IProject;
 import org.eclipse.core.resources.IProjectDescription;
@@ -13,7 +13,7 @@ import org.eclipse.core.runtime.IPath;
 import org.eclipse.core.runtime.IProgressMonitor;
 import org.eclipse.core.runtime.NullProgressMonitor;
 import org.eclipse.core.runtime.Platform;
-import org.eclipse.swt.widgets.Shell;
+//import org.eclipse.swt.widgets.Shell;
 import org.eclipse.ui.INewWizard;
 import org.eclipse.ui.dialogs.WizardNewProjectCreationPage;
 import org.eclipse.ui.wizards.newresource.BasicNewProjectResourceWizard;
@@ -46,10 +46,10 @@ public class TempnewPHPProject extends BasicNewResourceWizard implements
                addPage(phpProjPage);
        }
 
-       public void setInitializationData(IConfigurationElement cfig,
-                       String propertyName, Object data) {
-               fConfigElement = cfig;
-       }
+//     public void setInitializationData(IConfigurationElement cfig,
+//                     String propertyName, Object data) {
+//             fConfigElement = cfig;
+//     }
 
        protected void initializeDefaultPageImageDescriptor() {
                // not used yet
@@ -62,10 +62,10 @@ public class TempnewPHPProject extends BasicNewResourceWizard implements
                selectAndReveal(phpProjPage.getProjectHandle());
        }
 
-       protected void handleFinishException(Shell shell,
-                       InvocationTargetException e) {
-               ExceptionHandler.handle(e, getShell(), "Error title", "Error message");
-       }
+//     protected void handleFinishException(Shell shell,
+//                     InvocationTargetException e) {
+//             ExceptionHandler.handle(e, getShell(), "Error title", "Error message");
+//     }
 
        public boolean performFinish() {
                try {