Added new syntax error "Assignment operator not allowed after identifier..."
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / PHPDocumentProvider.java
index a707726..301c6a1 100644 (file)
@@ -9,7 +9,7 @@ http://www.eclipse.org/legal/cpl-v10.html
 
 Contributors:
     IBM Corporation - Initial implementation
-    Klaus Hartlage - www.eclipseproject.de
+    www.phpeclipse.de
 **********************************************************************/
 
 import java.util.ArrayList;
@@ -161,7 +161,7 @@ public class PHPDocumentProvider extends TextFileDocumentProvider implements ICo
                }
                
                /*
-                * @see org.eclipse.jdt.internal.ui.text.java.IProblemRequestorExtension#beginReportingSequence()
+                * @see net.sourceforge.phpdt.internal.ui.text.java.IProblemRequestorExtension#beginReportingSequence()
                 */
                public void beginReportingSequence() {
                        ProblemRequestorState state= (ProblemRequestorState) fProblemRequestorState.get();
@@ -209,7 +209,7 @@ public class PHPDocumentProvider extends TextFileDocumentProvider implements ICo
                }
                
                /*
-                * @see org.eclipse.jdt.internal.ui.text.java.IProblemRequestorExtension#endReportingSequence()
+                * @see net.sourceforge.phpdt.internal.ui.text.java.IProblemRequestorExtension#endReportingSequence()
                 */
                public void endReportingSequence() {
                        ProblemRequestorState state= (ProblemRequestorState) fProblemRequestorState.get();
@@ -623,7 +623,7 @@ public class PHPDocumentProvider extends TextFileDocumentProvider implements ICo
                }
                
                /*
-                * @see org.eclipse.jdt.internal.ui.javaeditor.IJavaAnnotation#getOverlay()
+                * @see net.sourceforge.phpdt.internal.ui.javaeditor.IJavaAnnotation#getOverlay()
                 */
                public IJavaAnnotation getOverlay() {
                        return null;
@@ -659,7 +659,7 @@ public class PHPDocumentProvider extends TextFileDocumentProvider implements ICo
                }
                
                /*
-                * @see org.eclipse.jdt.internal.ui.javaeditor.IJavaAnnotation#getCompilationUnit()
+                * @see net.sourceforge.phpdt.internal.ui.javaeditor.IJavaAnnotation#getCompilationUnit()
                 */
                public ICompilationUnit getCompilationUnit() {
                        return fCompilationUnit;
@@ -1515,7 +1515,7 @@ protected DocumentProviderOperation createSaveOperation(final Object element, fi
 //  }
 
        /*
-        * @see org.eclipse.jdt.internal.ui.javaeditor.ICompilationUnitDocumentProvider#getWorkingCopy(java.lang.Object)
+        * @see net.sourceforge.phpdt.internal.ui.javaeditor.ICompilationUnitDocumentProvider#getWorkingCopy(java.lang.Object)
         */
        public ICompilationUnit getWorkingCopy(Object element) {
                FileInfo fileInfo= getFileInfo(element);                
@@ -1528,7 +1528,7 @@ protected DocumentProviderOperation createSaveOperation(final Object element, fi
 
 
   /*
-        * @see org.eclipse.jdt.internal.ui.javaeditor.ICompilationUnitDocumentProvider#shutdown()
+        * @see net.sourceforge.phpdt.internal.ui.javaeditor.ICompilationUnitDocumentProvider#shutdown()
         */
        public void shutdown() {
                PHPeclipsePlugin.getDefault().getPreferenceStore().removePropertyChangeListener(fPropertyListener);
@@ -1590,7 +1590,7 @@ protected DocumentProviderOperation createSaveOperation(final Object element, fi
         * @param toCreateOrModify the resource to create or modify
         * @return the minimal scheduling rule needed to modify or create a resource
         */
-       private ISchedulingRule computeSchedulingRule(IResource toCreateOrModify) {
+   protected ISchedulingRule computeSchedulingRule(IResource toCreateOrModify) {
                IResourceRuleFactory factory= ResourcesPlugin.getWorkspace().getRuleFactory();
                if (toCreateOrModify.exists()) {
                        return factory.modifyRule(toCreateOrModify);