2 * Copyright (c) 2002-2004 Widespace, OU 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://solareclipse.sourceforge.net/legal/cpl-v10.html
9 * Igor Malinin - initial contribution
11 * $Id: EmptyPreferencePage.java,v 1.1 2004-09-02 18:26:30 jsurfer Exp $
14 package net.sourceforge.phpeclipse.ui.preferences;
16 import org.eclipse.jface.preference.PreferencePage;
17 import org.eclipse.swt.SWT;
18 import org.eclipse.swt.widgets.Composite;
19 import org.eclipse.swt.widgets.Control;
20 import org.eclipse.ui.IWorkbench;
21 import org.eclipse.ui.IWorkbenchPreferencePage;
24 * Empty preference page (could be used as a preferences category).
26 * @author Igor Malinin
28 public class EmptyPreferencePage extends PreferencePage implements
29 IWorkbenchPreferencePage {
32 * @see org.eclipse.jface.preference.PreferencePage#createContents(Composite)
34 protected Control createContents(Composite parent) {
35 return new Composite(parent, SWT.NULL);
39 * @see org.eclipse.ui.IWorkbenchPreferencePage#init(IWorkbench)
41 public void init(IWorkbench workbench) {