1) Reintroduced PHPPerspectiveFactory (was lost with refactoring).
[phpeclipse.git] / net.sourceforge.phpeclipse.phphelp / src / net / sourceforge / phpdt / httpquery / preferences / ConfigurationDialog.java
index 70effbe..13b7844 100644 (file)
@@ -43,9 +43,9 @@ public class ConfigurationDialog extends Dialog {
 
        private Button okButton;
 
-       private Text fName;
+       //private Text fName;
 
-       private Text fUrl;
+       //private Text fUrl;
 
        // private Text fPassword;
 
@@ -168,13 +168,13 @@ public class ConfigurationDialog extends Dialog {
                // WorkbenchHelp.setHelp(composite, ContextIds.PREF_DIALOG);
 
                createLabel(composite, PHPHelpPlugin.getResource("%name"));
-               fName = createText(composite, fConfiguration.getName() + "",
-                               new StringModifyListener() {
-                                       public void valueChanged(String name) {
-                                               fConfiguration.setName(name);
-                                               validateFields();
-                                       }
-                               });
+//             fName = createText(composite, fConfiguration.getName() + "",
+//                             new StringModifyListener() {
+//                                     public void valueChanged(String name) {
+//                                             fConfiguration.setName(name);
+//                                             validateFields();
+//                                     }
+//                             });
 
                Group group = new Group(composite, SWT.NONE);
                GridLayout layout = new GridLayout(2, false);
@@ -225,13 +225,13 @@ public class ConfigurationDialog extends Dialog {
                // });
 
                createLabel(group, PHPHelpPlugin.getResource("%url"));
-               fUrl = createText(group, fConfiguration.getURL(),
-                               new StringModifyListener() {
-                                       public void valueChanged(String s) {
-                                               fConfiguration.setURL(s);
-                                               validateFields();
-                                       }
-                               });
+//             fUrl = createText(group, fConfiguration.getURL(),
+//                             new StringModifyListener() {
+//                                     public void valueChanged(String s) {
+//                                             fConfiguration.setURL(s);
+//                                             validateFields();
+//                                     }
+//                             });
 
                createLabel(group, PHPHelpPlugin.getResource("%parseType"));
                createTypeCombo(group, PHPHelpPlugin.getTypes(), fConfiguration