01: /* uDig - User Friendly Desktop Internet GIS client
02: * http://udig.refractions.net
03: * (C) 2004, Refractions Research Inc.
04: *
05: * This library is free software; you can redistribute it and/or
06: * modify it under the terms of the GNU Lesser General Public
07: * License as published by the Free Software Foundation;
08: * version 2.1 of the License.
09: *
10: * This library is distributed in the hope that it will be useful,
11: * but WITHOUT ANY WARRANTY; without even the implied warranty of
12: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13: * Lesser General Public License for more details.
14: */
15: package net.refractions.udig.project.internal.provider;
16:
17: import org.eclipse.core.runtime.jobs.ISchedulingRule;
18:
19: class ChildFetcherScheduleRule implements ISchedulingRule {
20:
21: public boolean contains(ISchedulingRule rule) {
22: if (rule instanceof ChildFetcherScheduleRule)
23: return true;
24: return false;
25: }
26:
27: public boolean isConflicting(ISchedulingRule rule) {
28: if (rule instanceof ChildFetcherScheduleRule)
29: return true;
30: return false;
31: }
32:
33: }
|