From: incastrix Date: Wed, 23 Dec 2009 17:38:50 +0000 (+0000) Subject: Refactory: remove unused classes, imports, fields and methods. X-Git-Url: http://git.phpeclipse.com Refactory: remove unused classes, imports, fields and methods. --- diff --git a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/wizards/TempnewPHPProject.java b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/wizards/TempnewPHPProject.java index 05cace3..91a03e9 100644 --- a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/wizards/TempnewPHPProject.java +++ b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/wizards/TempnewPHPProject.java @@ -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 {