org.symbian.tools.mtw.ui/src/org/symbian/tools/tmw/ui/deployment/bluetooth/BluetoothRule.java
author Eugene Ostroukhov <eugeneo@symbian.org>
Mon, 09 Aug 2010 15:18:34 -0700
changeset 461 7a8f9fa8d278
permissions -rw-r--r--
Project model introduction and JSDT classpath support

package org.symbian.tools.tmw.ui.deployment.bluetooth;

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

public class BluetoothRule implements ISchedulingRule {
    public static final ISchedulingRule INSTANCE = new BluetoothRule();

    private BluetoothRule() {
        // No instantiation
    }

    public boolean contains(ISchedulingRule rule) {
        return isConflicting(rule);
    }

    public boolean isConflicting(ISchedulingRule rule) {
        return rule instanceof BluetoothRule;
    }

}