X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.phphelp/src/net/sourceforge/phpdt/httpquery/preferences/ConfigurationPreferencePage.java b/net.sourceforge.phpeclipse.phphelp/src/net/sourceforge/phpdt/httpquery/preferences/ConfigurationPreferencePage.java index ad23c6f..3602db5 100644 --- a/net.sourceforge.phpeclipse.phphelp/src/net/sourceforge/phpdt/httpquery/preferences/ConfigurationPreferencePage.java +++ b/net.sourceforge.phpeclipse.phphelp/src/net/sourceforge/phpdt/httpquery/preferences/ConfigurationPreferencePage.java @@ -4,13 +4,12 @@ * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - * + �* * Contributors: * IBM - Initial API and implementation **********************************************************************/ package net.sourceforge.phpdt.httpquery.preferences; - import net.sourceforge.phpdt.phphelp.PHPHelpPlugin; import org.eclipse.jface.dialogs.Dialog; @@ -23,10 +22,12 @@ import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.Label; import org.eclipse.ui.IWorkbench; import org.eclipse.ui.IWorkbenchPreferencePage; + /** * The preference page that holds monitor properties. */ -public class ConfigurationPreferencePage extends PreferencePage implements IWorkbenchPreferencePage { +public class ConfigurationPreferencePage extends PreferencePage implements + IWorkbenchPreferencePage { /** * ConfigurationPreferencePage constructor comment. @@ -38,8 +39,9 @@ public class ConfigurationPreferencePage extends PreferencePage implements IWork /** * Create the preference options. - * - * @param parent org.eclipse.swt.widgets.Composite + * + * @param parent + * org.eclipse.swt.widgets.Composite * @return org.eclipse.swt.widgets.Control */ protected Control createContents(Composite parent) { @@ -53,9 +55,10 @@ public class ConfigurationPreferencePage extends PreferencePage implements IWork layout.marginWidth = 0; layout.marginHeight = 0; composite.setLayout(layout); - GridData data = new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL); + GridData data = new GridData(GridData.FILL_HORIZONTAL + | GridData.VERTICAL_ALIGN_FILL); composite.setLayoutData(data); -// WorkbenchHelp.setHelp(composite, ContextIds.PREF); + // WorkbenchHelp.setHelp(composite, ContextIds.PREF); Label label = new Label(composite, SWT.WRAP); label.setText(PHPHelpPlugin.getResource("%preferenceDescription")); @@ -65,7 +68,8 @@ public class ConfigurationPreferencePage extends PreferencePage implements IWork label = new Label(composite, SWT.NONE); label.setText(""); - ConfigurationComposite monitorComp = new ConfigurationComposite(composite, SWT.NONE); + ConfigurationComposite monitorComp = new ConfigurationComposite( + composite, SWT.NONE); data = new GridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL); monitorComp.setLayoutData(data); @@ -76,31 +80,32 @@ public class ConfigurationPreferencePage extends PreferencePage implements IWork /** * Initializes this preference page using the passed desktop. - * - * @param desktop the current desktop + * + * @param desktop + * the current desktop */ public void init(IWorkbench workbench) { } /** - * Performs special processing when this page's Defaults button has been pressed. + * Performs special processing when this page's Defaults button has been + * pressed. *
* This is a framework hook method for sublcasses to do special things when
- * the Defaults button has been pressed.
- * Subclasses may override, but should call super.performDefaults
.
+ * the Defaults button has been pressed. Subclasses may override, but should
+ * call super.performDefaults
.
*