Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
blob: d59249a3e2f3ae52b2b431f42ca6c51ca9e5c4f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package org.eclipse.wst.validation.internal.core;

import org.eclipse.core.runtime.jobs.ISchedulingRule;

public class EmptySchedulingRule implements ISchedulingRule {
		
    public boolean contains(ISchedulingRule rule) 
    {
         return rule == this;
    }

    public boolean isConflicting(ISchedulingRule rule) {
         return rule == this;
    }
    
    
//    public static ISchedulingRule getDefaultRule(){
//    	IResourceRuleFactory ruleFactory = ResourcesPlugin.getWorkspace().getRuleFactory();
//    	EmptySchedulingRule emptyRule = new EmptySchedulingRule();
//		ISchedulingRule rule = MultiRule.combine(ruleFactory.markerRule(fileResource), emptyRule);    	
//    }
}

Back to the top