KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > team > internal > ccvs > ui > WorkInProgressPreferencePage


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

11 package org.eclipse.team.internal.ccvs.ui;
12
13 import org.eclipse.jface.preference.FieldEditorPreferencePage;
14 import org.eclipse.swt.widgets.Composite;
15 import org.eclipse.ui.IWorkbench;
16 import org.eclipse.ui.IWorkbenchPreferencePage;
17
18 public class WorkInProgressPreferencePage extends FieldEditorPreferencePage implements IWorkbenchPreferencePage {
19     
20     public WorkInProgressPreferencePage() {
21         super(GRID);
22         setTitle(Policy.bind("WorkInProgressPreferencePage.0")); //$NON-NLS-1$
23
setDescription(Policy.bind("WorkInProgressPreferencePage.1")); //$NON-NLS-1$
24
setPreferenceStore(CVSUIPlugin.getPlugin().getPreferenceStore());
25     }
26
27     /* (non-Javadoc)
28      * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
29      */

30     public void createControl(Composite parent) {
31         super.createControl(parent);
32         //WorkbenchHelp.setHelp(getControl(), IDebugHelpContextIds.CONSOLE_PREFERENCE_PAGE);
33
}
34     
35     /* (non-Javadoc)
36      * @see org.eclipse.jface.preference.FieldEditorPreferencePage#createFieldEditors()
37      */

38     public void createFieldEditors() {
39     }
40     
41     /* (non-Javadoc)
42      * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
43      */

44     /* (non-Javadoc)
45      * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
46      */

47     public void init(IWorkbench workbench) {
48     }
49 }
Popular Tags