* @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);