Refactory: replaced deprecated constructor DefaultInformationControl(Shell, int,...
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpdt / ui / wizards / NewContainerWizardPage.java
index f21bfb6..a7857e8 100644 (file)
@@ -15,7 +15,9 @@ import net.sourceforge.phpdt.core.IJavaProject;
 import net.sourceforge.phpdt.core.IPackageFragmentRoot;
 import net.sourceforge.phpdt.core.JavaCore;
 import net.sourceforge.phpdt.core.JavaModelException;
-import net.sourceforge.phpdt.externaltools.internal.ui.StatusInfo;
+// incastrix
+//import net.sourceforge.phpdt.externaltools.internal.ui.StatusInfo;
+import net.sourceforge.phpeclipse.ui.StatusInfo;
 import net.sourceforge.phpdt.internal.ui.viewsupport.IViewPartInputProvider;
 import net.sourceforge.phpdt.internal.ui.wizards.NewWizardMessages;
 import net.sourceforge.phpdt.internal.ui.wizards.dialogfields.DialogField;
@@ -94,7 +96,7 @@ public abstract class NewContainerWizardPage extends NewElementWizardPage {
         *            root used as the source folder
         */
        protected void initContainerPage(IJavaElement elem) {
-               IPackageFragmentRoot initRoot = null;
+               //IPackageFragmentRoot initRoot = null;
                // if (elem != null) {
                // initRoot= JavaModelUtil.getPackageFragmentRoot(elem);
                // if (initRoot == null || initRoot.isArchive()) {
@@ -292,7 +294,7 @@ public abstract class NewContainerWizardPage extends NewElementWizardPage {
                                                                                        "NewContainerWizardPage.error.ProjectClosed", proj.getFullPath().toString())); //$NON-NLS-1$
                                        return status;
                                }
-                               IJavaProject jproject = JavaCore.create(proj);
+                               //IJavaProject jproject = JavaCore.create(proj);
                                // fCurrRoot= jproject.getPackageFragmentRoot(res);
                                // if (res.exists()) {
                                // try {