org.symbian.tools.mtw.ui/src/org/symbian/tools/mtw/ui/deployment/bluetooth/BluetoothRule.java
equal
deleted
inserted
replaced
1 package org.symbian.tools.mtw.ui.deployment.bluetooth; |
|
2 |
|
3 import org.eclipse.core.runtime.jobs.ISchedulingRule; |
|
4 |
|
5 public class BluetoothRule implements ISchedulingRule { |
|
6 public static final ISchedulingRule INSTANCE = new BluetoothRule(); |
|
7 |
|
8 private BluetoothRule() { |
|
9 // No instantiation |
|
10 } |
|
11 |
|
12 public boolean contains(ISchedulingRule rule) { |
|
13 return isConflicting(rule); |
|
14 } |
|
15 |
|
16 public boolean isConflicting(ISchedulingRule rule) { |
|
17 return rule instanceof BluetoothRule; |
|
18 } |
|
19 |
|
20 } |
|