From bfa154e9da1b7c2915b8728f9e96afc8c3c1011f Mon Sep 17 00:00:00 2001 From: bananeweizen Date: Tue, 20 Dec 2005 01:39:19 +0000 Subject: [PATCH 1/1] initially focus file name field, if container field contains useful value --- .../phpeclipse/wizards/HTMLFileWizardPage.java | 1 + .../phpeclipse/wizards/PHPFileWizardPage.java | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) 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"); -- 1.7.1