improved color settings through Preference page
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / ui / preferences / TemplatePreferencePage.java
index ca44370..c250488 100644 (file)
@@ -16,7 +16,6 @@ import net.sourceforge.phpdt.internal.ui.text.template.TemplateLabelProvider;
 import net.sourceforge.phpdt.internal.ui.util.SWTUtil;
 import net.sourceforge.phpdt.ui.text.JavaTextTools;
 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
-import net.sourceforge.phpeclipse.phpeditor.PHPEditorEnvironment;
 import net.sourceforge.phpeclipse.phpeditor.PHPSourceViewerConfiguration;
 
 import org.eclipse.core.runtime.CoreException;
@@ -96,7 +95,7 @@ public class TemplatePreferencePage
    * @see PreferencePage#createContents(Composite)
    */
   protected Control createContents(Composite ancestor) {
-    PHPEditorEnvironment.connect(this);
+ //   PHPEditorEnvironment.connect(this);
     Composite parent = new Composite(ancestor, SWT.NONE);
     GridLayout layout = new GridLayout();
     layout.numColumns = 2;
@@ -610,7 +609,7 @@ public class TemplatePreferencePage
     }
 
     PHPeclipsePlugin.getDefault().savePluginPreferences();
-    PHPEditorEnvironment.disconnect(this);
+ //   PHPEditorEnvironment.disconnect(this);
     return super.performOk();
   }
 
@@ -625,7 +624,7 @@ public class TemplatePreferencePage
       openReadErrorDialog(e);
     }
 
-    PHPEditorEnvironment.disconnect(this);
+   // PHPEditorEnvironment.disconnect(this);
     return super.performCancel();
   }