KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > texteditor > ISchedulingRuleProvider


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11
12 package org.eclipse.ui.texteditor;
13
14 import org.eclipse.core.runtime.jobs.ISchedulingRule;
15
16 /**
17  * A scheduling rule provider provides a scheduling rule which
18  * can be used when running operations.
19  *
20  * @since 3.0
21  */

22 public interface ISchedulingRuleProvider {
23
24     /**
25      * Returns the scheduling rule.
26      *
27      * @return a scheduling rule or <code>null</code> if none
28      */

29     ISchedulingRule getSchedulingRule();
30 }
31
Popular Tags