Merged the 3.1 compatibility patches from the eclipse3_1compat branch into the HEAD.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / PHPDocumentProvider.java
index c8660ec..301c6a1 100644 (file)
@@ -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);