X-Git-Url: http://git.phpeclipse.com

diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/ui/wizards/NewElementWizardPage.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/ui/wizards/NewElementWizardPage.java
index 424404a..90cce1e 100644
--- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/ui/wizards/NewElementWizardPage.java
+++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/ui/wizards/NewElementWizardPage.java
@@ -10,7 +10,9 @@
  *******************************************************************************/
 package net.sourceforge.phpdt.ui.wizards;
 
-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.dialogs.StatusUtil;
 
 import org.eclipse.core.runtime.IStatus;
@@ -26,59 +28,63 @@ import org.eclipse.jface.wizard.WizardPage;
 public abstract class NewElementWizardPage extends WizardPage {
 
 	private IStatus fCurrStatus;
-	
+
 	private boolean fPageVisible;
 
 	/**
 	 * Creates a <code>NewElementWizardPage</code>.
 	 * 
-	 * @param name the wizard page's name
-	 */	
+	 * @param name
+	 *            the wizard page's name
+	 */
 	public NewElementWizardPage(String name) {
 		super(name);
-		fPageVisible= false;
-		fCurrStatus=  new StatusInfo();
+		fPageVisible = false;
+		fCurrStatus = new StatusInfo();
 	}
-		
+
 	// ---- WizardPage ----------------
-	
+
 	/*
 	 * @see WizardPage#becomesVisible
 	 */
 	public void setVisible(boolean visible) {
 		super.setVisible(visible);
-		fPageVisible= visible;
+		fPageVisible = visible;
 		// policy: wizards are not allowed to come up with an error message
 		if (visible && fCurrStatus.matches(IStatus.ERROR)) {
-			StatusInfo status= new StatusInfo();
-			status.setError("");  //$NON-NLS-1$
-			fCurrStatus= status;
-		} 
+			StatusInfo status = new StatusInfo();
+			status.setError(""); //$NON-NLS-1$
+			fCurrStatus = status;
+		}
 		updateStatus(fCurrStatus);
-	}	
+	}
 
 	/**
 	 * Updates the status line and the ok button according to the given status
 	 * 
-	 * @param status status to apply
+	 * @param status
+	 *            status to apply
 	 */
 	protected void updateStatus(IStatus status) {
-		fCurrStatus= status;
+		fCurrStatus = status;
 		setPageComplete(!status.matches(IStatus.ERROR));
 		if (fPageVisible) {
 			StatusUtil.applyToStatusLine(this, status);
 		}
 	}
-	
+
 	/**
-	 * Updates the status line and the ok button according to the status evaluate from
-	 * an array of status. The most severe error is taken.  In case that two status with 
-	 * the same severity exists, the status with lower index is taken.
+	 * Updates the status line and the ok button according to the status
+	 * evaluate from an array of status. The most severe error is taken. In case
+	 * that two status with the same severity exists, the status with lower
+	 * index is taken.
 	 * 
-	 * @param status the array of status
+	 * @param status
+	 *            the array of status
 	 */
 	protected void updateStatus(IStatus[] status) {
 		updateStatus(StatusUtil.getMostSevere(status));
-	}	
-			
+	}
+
 }