9126e66f02e9246fec0e2f8f22cdda5dd4955a0c
[phpeclipse.git] /
1 package net.sourceforge.phpdt.internal.debug.ui.preferences;
2
3 import org.eclipse.jface.preference.PreferencePage;
4 import org.eclipse.swt.SWT;
5 import org.eclipse.swt.layout.GridLayout;
6 import org.eclipse.swt.widgets.Composite;
7 import org.eclipse.swt.widgets.Control;
8 import org.eclipse.swt.widgets.Label;
9 import org.eclipse.ui.IWorkbench;
10 import org.eclipse.ui.IWorkbenchPreferencePage;
11 import net.sourceforge.phpdt.internal.debug.ui.PHPDebugUiMessages;
12
13 public class PHPBasePreferencePage extends PreferencePage implements IWorkbenchPreferencePage {
14
15         public PHPBasePreferencePage() {
16                 super();
17         }
18
19         public void init(IWorkbench workbench) {}
20
21         protected Control createContents(Composite parent) {
22                 noDefaultAndApplyButton();
23
24                 Composite composite = new Composite(parent, SWT.NONE);
25                 GridLayout layout = new GridLayout();
26                 layout.marginHeight = 0;
27                 layout.marginWidth = 0;
28                 composite.setLayout(layout);
29
30                 new Label(composite, SWT.NONE).setText(PHPDebugUiMessages.getString("PHPBasePreferencePage.label")); //$NON-NLS-1$
31
32                 return composite;
33         }
34 }