1 /*******************************************************************************
2 * Copyright (C) 2008, Shawn O. Pearce <spearce@spearce.org>
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * See LICENSE for the full license text, also available.
7 *******************************************************************************/
8 package org
.spearce
.egit
.ui
.internal
.preferences
;
10 import org
.eclipse
.jface
.preference
.IPreferenceStore
;
11 import org
.eclipse
.jface
.preference
.PreferencePage
;
12 import org
.eclipse
.swt
.SWT
;
13 import org
.eclipse
.swt
.widgets
.Composite
;
14 import org
.eclipse
.swt
.widgets
.Control
;
15 import org
.eclipse
.ui
.IWorkbench
;
16 import org
.eclipse
.ui
.IWorkbenchPreferencePage
;
17 import org
.spearce
.egit
.ui
.Activator
;
19 /** Root preference page for the all of our workspace preferences. */
20 public class GitPreferenceRoot
extends PreferencePage
implements
21 IWorkbenchPreferencePage
{
22 protected Control
createContents(Composite parent
) {
23 return new Composite(parent
, SWT
.NULL
);
26 protected IPreferenceStore
doGetPreferenceStore() {
27 return Activator
.getDefault().getPreferenceStore();
30 public void init(final IWorkbench workbench
) {