1) Added missing strings for italic, underline and strike through.
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpeclipse / ui / preferences / EmptyPreferencePage.java
1 /*
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
7  * 
8  * Contributors:
9  *     Igor Malinin - initial contribution
10  * 
11  * $Id: EmptyPreferencePage.java,v 1.1 2004-09-02 18:26:30 jsurfer Exp $
12  */
13
14 package net.sourceforge.phpeclipse.ui.preferences;
15
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;
22
23 /**
24  * Empty preference page (could be used as a preferences category).
25  * 
26  * @author Igor Malinin
27  */
28 public class EmptyPreferencePage extends PreferencePage implements
29                 IWorkbenchPreferencePage {
30
31         /*
32          * @see org.eclipse.jface.preference.PreferencePage#createContents(Composite)
33          */
34         protected Control createContents(Composite parent) {
35                 return new Composite(parent, SWT.NULL);
36         }
37
38         /*
39          * @see org.eclipse.ui.IWorkbenchPreferencePage#init(IWorkbench)
40          */
41         public void init(IWorkbench workbench) {
42         }
43 }