1 package net.sourceforge.phpdt.internal.debug.ui.preferences;
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;
13 public class PHPBasePreferencePage extends PreferencePage implements IWorkbenchPreferencePage {
15 public PHPBasePreferencePage() {
19 public void init(IWorkbench workbench) {}
21 protected Control createContents(Composite parent) {
22 noDefaultAndApplyButton();
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);
30 new Label(composite, SWT.NONE).setText(PHPDebugUiMessages.getString("PHPBasePreferencePage.label")); //$NON-NLS-1$