initially focus file name field, if container field contains useful value
authorbananeweizen <bananeweizen>
Tue, 20 Dec 2005 01:39:19 +0000 (01:39 +0000)
committerbananeweizen <bananeweizen>
Tue, 20 Dec 2005 01:39:19 +0000 (01:39 +0000)
net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/HTMLFileWizardPage.java
net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/PHPFileWizardPage.java

index 7d0ad1b..796e732 100644 (file)
@@ -123,6 +123,7 @@ public class HTMLFileWizardPage extends WizardPage {
         else
           container = ((IResource) obj).getParent();
         containerText.setText(container.getFullPath().toString());
+        fileText.setFocus();
       }
     }
     fileText.setText("*.html");
index ec91d2b..4e6a174 100644 (file)
@@ -123,6 +123,7 @@ public class PHPFileWizardPage extends WizardPage {
         else
           container = ((IResource) obj).getParent();
         containerText.setText(container.getFullPath().toString());
+        fileText.setFocus();
       }
     }
     fileText.setText("*.php");