Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjames2002-06-11 11:32:31 -0400
committerjames2002-06-11 11:32:31 -0400
commit91326bf8f6d216cde09cb334ee68fbbad14874ff (patch)
tree19118ae12f8ee51be47fe46798c74bf4d272bb07
parent63e8171842cc12785746b1dabcab6ecc9d656da9 (diff)
downloadeclipse.platform.team-91326bf8f6d216cde09cb334ee68fbbad14874ff.tar.gz
eclipse.platform.team-91326bf8f6d216cde09cb334ee68fbbad14874ff.tar.xz
eclipse.platform.team-91326bf8f6d216cde09cb334ee68fbbad14874ff.zip
17280: DAV: Target site dialog should give focus to site
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/GenerateDiffFileWizard.java6
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/ModuleSelectionPage.java6
2 files changed, 12 insertions, 0 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/GenerateDiffFileWizard.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/GenerateDiffFileWizard.java
index 73cb7e197..4bf05dd7e 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/GenerateDiffFileWizard.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/GenerateDiffFileWizard.java
@@ -443,6 +443,12 @@ public class GenerateDiffFileWizard extends Wizard {
}
return (LocalOption[]) options.toArray(new LocalOption[options.size()]);
}
+ public void setVisible(boolean visible) {
+ super.setVisible(visible);
+ if (visible) {
+ recurseOption.setFocus();
+ }
+ }
}
// end of PatchFileCreationOptionsPage
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/ModuleSelectionPage.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/ModuleSelectionPage.java
index e38fea970..3bb0e8388 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/ModuleSelectionPage.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/ModuleSelectionPage.java
@@ -80,4 +80,10 @@ public class ModuleSelectionPage extends CVSWizardPage {
public boolean useProjectName() {
return useProjectName;
}
+ public void setVisible(boolean visible) {
+ super.setVisible(visible);
+ if (visible) {
+ useProjectNameButton.setFocus();
+ }
+ }
}

Back to the top