import org.eclipse.core.runtime.IStatus;
 import org.eclipse.core.runtime.Status;
 import net.sourceforge.phpdt.internal.corext.util.Strings;
-import net.sourceforge.phpdt.internal.ui.JavaStatusConstants;
+import net.sourceforge.phpdt.internal.ui.PHPStatusConstants;
 import org.eclipse.jface.text.BadLocationException;
 import org.eclipse.jface.text.DefaultLineTracker;
 import org.eclipse.jface.text.IDocument;
                try {
                        fDocument.replace(offset, length, text);
                } catch (BadLocationException e) {
-                       IStatus s = new Status(IStatus.ERROR, PHPeclipsePlugin.getPluginId(), JavaStatusConstants.INTERNAL_ERROR, 
+                       IStatus s = new Status(IStatus.ERROR, PHPeclipsePlugin.getPluginId(), PHPStatusConstants.INTERNAL_ERROR, 
                                TextManipulationMessages.getFormattedString(
                                        "TextBuffer.wrongRange",  //$NON-NLS-1$
                                        new Object[] {new Integer(offset), new Integer(length) } ), e);