From: bananeweizen Date: Tue, 20 Dec 2005 01:39:19 +0000 (+0000) Subject: initially focus file name field, if container field contains useful value X-Git-Url: http://secure.phpeclipse.com?hp=fa55c6ebf5bde5f139f6ab6835bd5f4f2dbd4da2 initially focus file name field, if container field contains useful value --- diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/HTMLFileWizardPage.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/HTMLFileWizardPage.java index 7d0ad1b..796e732 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/HTMLFileWizardPage.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/HTMLFileWizardPage.java @@ -123,6 +123,7 @@ public class HTMLFileWizardPage extends WizardPage { else container = ((IResource) obj).getParent(); containerText.setText(container.getFullPath().toString()); + fileText.setFocus(); } } fileText.setText("*.html"); diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/PHPFileWizardPage.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/PHPFileWizardPage.java index ec91d2b..4e6a174 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/PHPFileWizardPage.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/PHPFileWizardPage.java @@ -123,6 +123,7 @@ public class PHPFileWizardPage extends WizardPage { else container = ((IResource) obj).getParent(); containerText.setText(container.getFullPath().toString()); + fileText.setFocus(); } } fileText.setText("*.php");