Bug 46996 [Jobs] Machine Speed Preference
I20031119 It seems that teams are now using that preference to decide whether a job is run in the background or not. This is not what the preference tells me: it says it controls how many jobs can be run in the background and not which kind of jobs. If this really controls which kind of jobs run in the background then this should also be shown in the UI.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/misc/WorkInProgressPreferencePage.java
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Group;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Slider;
import org.eclipse.swt.widgets.Text;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchPreferencePage;
import org.eclipse.ui.internal.ide.WorkbenchActionBuilder;
/**
 * Temporary "Work in Progress" PreferencePage for Job control
 * 
 * @since 3.0
 */
public class WorkInProgressPreferencePage
	extends PreferencePage
	implements IWorkbenchPreferencePage {
	private static final int SLOW = Platform.MIN_PERFORMANCE;
	private static final int FAST = Platform.MAX_PERFORMANCE;
	private Slider slider;
	private Label displayLabel;
	private Button autoRefreshButton;
	private Text pollingRefreshText;