1) Moved net.sourceforge.phpeclipse.ui\src\net\sourceforge\phpdt back to net.sourcefo...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / ui / preferences / CodeTemplatePreferencePage.java
index 2c122ff..822f445 100644 (file)
@@ -27,18 +27,21 @@ import org.eclipse.ui.PlatformUI;
 /*
  * The page to configure the code formatter options.
  */
-public class CodeTemplatePreferencePage extends PreferencePage implements IWorkbenchPreferencePage, IStatusChangeListener {
+public class CodeTemplatePreferencePage extends PreferencePage implements
+               IWorkbenchPreferencePage, IStatusChangeListener {
 
        private CodeTemplateBlock fCodeTemplateConfigurationBlock;
 
        public CodeTemplatePreferencePage() {
                setPreferenceStore(PHPeclipsePlugin.getDefault().getPreferenceStore());
-               //setDescription(PreferencesMessages.getString("CodeTemplatesPreferencePage.description")); //$NON-NLS-1$
+               // setDescription(PreferencesMessages.getString("CodeTemplatesPreferencePage.description"));
+               // //$NON-NLS-1$
 
                // only used when page is shown programatically
-               setTitle(PreferencesMessages.getString("CodeTemplatesPreferencePage.title"));            //$NON-NLS-1$
+               setTitle(PreferencesMessages
+                               .getString("CodeTemplatesPreferencePage.title")); //$NON-NLS-1$
 
-               fCodeTemplateConfigurationBlock= new CodeTemplateBlock();
+               fCodeTemplateConfigurationBlock = new CodeTemplateBlock();
        }
 
        /*
@@ -52,14 +55,16 @@ public class CodeTemplatePreferencePage extends PreferencePage implements IWorkb
         */
        public void createControl(Composite parent) {
                super.createControl(parent);
-               PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(), IJavaHelpContextIds.CODE_MANIPULATION_PREFERENCE_PAGE);
+               PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(),
+                               IJavaHelpContextIds.CODE_MANIPULATION_PREFERENCE_PAGE);
        }
 
        /*
         * @see PreferencePage#createContents(Composite)
         */
        protected Control createContents(Composite parent) {
-               Control composite= fCodeTemplateConfigurationBlock.createContents(parent);
+               Control composite = fCodeTemplateConfigurationBlock
+                               .createContents(parent);
                Dialog.applyDialogFont(composite);
                return composite;
        }
@@ -82,7 +87,9 @@ public class CodeTemplatePreferencePage extends PreferencePage implements IWorkb
                super.performDefaults();
        }
 
-       /* (non-Javadoc)
+       /*
+        * (non-Javadoc)
+        * 
         * @see net.sourceforge.phpdt.internal.ui.wizards.IStatusChangeListener#statusChanged(org.eclipse.core.runtime.IStatus)
         */
        public void statusChanged(IStatus status) {
@@ -90,7 +97,9 @@ public class CodeTemplatePreferencePage extends PreferencePage implements IWorkb
                StatusUtil.applyToStatusLine(this, status);
        }
 
-       /* (non-Javadoc)
+       /*
+        * (non-Javadoc)
+        * 
         * @see org.eclipse.jface.preference.IPreferencePage#performCancel()
         */
        public boolean performCancel() {
@@ -100,6 +109,3 @@ public class CodeTemplatePreferencePage extends PreferencePage implements IWorkb
        }
 
 }
-
-
-