org.symbian.tools.mtw.ui/src/org/symbian/tools/tmw/ui/deployment/bluetooth/BluetoothRule.java
changeset 461 7a8f9fa8d278
equal deleted inserted replaced
460:c0bff5ed874c 461:7a8f9fa8d278
       
     1 package org.symbian.tools.tmw.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 }