Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjames2002-06-11 11:27:08 -0400
committerjames2002-06-11 11:27:08 -0400
commit63e8171842cc12785746b1dabcab6ecc9d656da9 (patch)
tree1137da45e98b8219e3ef0f8491195fdf84dabb17
parent7dbe1dc993c946521cd01deb4f57e926a1620282 (diff)
downloadeclipse.platform.team-63e8171842cc12785746b1dabcab6ecc9d656da9.tar.gz
eclipse.platform.team-63e8171842cc12785746b1dabcab6ecc9d656da9.tar.xz
eclipse.platform.team-63e8171842cc12785746b1dabcab6ecc9d656da9.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/merge/MergeWizardEndPage.java6
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/merge/MergeWizardStartPage.java6
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/ConfigurationWizardMainPage.java6
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/KSubstWizardDirtyFilesPage.java6
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/KSubstWizardSharedFilesPage.java6
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/KSubstWizardSummaryPage.java6
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/RepositorySelectionPage.java6
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/ConfigureProjectWizardMainPage.java6
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/ExportProjectSetMainPage.java6
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/ImportProjectSetMainPage.java6
10 files changed, 58 insertions, 2 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/merge/MergeWizardEndPage.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/merge/MergeWizardEndPage.java
index bef0586b4..ec29209b7 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/merge/MergeWizardEndPage.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/merge/MergeWizardEndPage.java
@@ -110,8 +110,10 @@ public class MergeWizardEndPage extends CVSWizardPage {
*/
public void setVisible(boolean visible) {
super.setVisible(visible);
- // refresh the tree because tags may of been added in the previous page
+ // refresh the tree because tags may have been added in the previous page
tree.refresh();
+ if (visible) {
+ tree.getControl().setFocus();
+ }
}
-
}
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/merge/MergeWizardStartPage.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/merge/MergeWizardStartPage.java
index f326a7a5c..64fea3f8b 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/merge/MergeWizardStartPage.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/merge/MergeWizardStartPage.java
@@ -139,4 +139,10 @@ public class MergeWizardStartPage extends CVSWizardPage {
public CVSTag getTag() {
return result;
}
+ public void setVisible(boolean visible) {
+ super.setVisible(visible);
+ if (visible) {
+ table.getControl().setFocus();
+ }
+ }
}
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/ConfigurationWizardMainPage.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/ConfigurationWizardMainPage.java
index b54b1f8b1..9662cc9d0 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/ConfigurationWizardMainPage.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/ConfigurationWizardMainPage.java
@@ -476,4 +476,10 @@ public class ConfigurationWizardMainPage extends CVSWizardPage {
public boolean getValidate() {
return validate;
}
+ public void setVisible(boolean visible) {
+ super.setVisible(visible);
+ if (visible) {
+ hostCombo.setFocus();
+ }
+ }
}
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/KSubstWizardDirtyFilesPage.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/KSubstWizardDirtyFilesPage.java
index 63d859b1b..550a26099 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/KSubstWizardDirtyFilesPage.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/KSubstWizardDirtyFilesPage.java
@@ -78,4 +78,10 @@ public class KSubstWizardDirtyFilesPage extends CVSWizardPage {
// returns true iff the list is empty after filtering
return listViewer.getList().getItemCount() == 0;
}
+ public void setVisible(boolean visible) {
+ super.setVisible(visible);
+ if (visible) {
+ includeDirtyFilesButton.setFocus();
+ }
+ }
}
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/KSubstWizardSharedFilesPage.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/KSubstWizardSharedFilesPage.java
index 48e2084c3..cac1ad4c8 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/KSubstWizardSharedFilesPage.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/KSubstWizardSharedFilesPage.java
@@ -78,4 +78,10 @@ public class KSubstWizardSharedFilesPage extends CVSWizardPage {
// returns true iff the list is empty after filtering
return listViewer.getList().getItemCount() == 0;
}
+ public void setVisible(boolean visible) {
+ super.setVisible(visible);
+ if (visible) {
+ includeSharedFilesButton.setFocus();
+ }
+ }
}
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/KSubstWizardSummaryPage.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/KSubstWizardSummaryPage.java
index 4ff3b410f..755e62745 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/KSubstWizardSummaryPage.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/KSubstWizardSummaryPage.java
@@ -274,4 +274,10 @@ public class KSubstWizardSummaryPage extends CVSWizardPage {
private String getModeDisplayText(KSubstOption option) {
return option.getLongDisplayText();
}
+ public void setVisible(boolean visible) {
+ super.setVisible(visible);
+ if (visible) {
+ showUnaffectedFilesButton.setFocus();
+ }
+ }
}
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/RepositorySelectionPage.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/RepositorySelectionPage.java
index eebe659bb..9f8f64303 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/RepositorySelectionPage.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/wizards/RepositorySelectionPage.java
@@ -130,4 +130,10 @@ public class RepositorySelectionPage extends CVSWizardPage {
public ICVSRepositoryLocation getLocation() {
return result;
}
+ public void setVisible(boolean visible) {
+ super.setVisible(visible);
+ if (visible) {
+ useExistingRepo.setFocus();
+ }
+ }
}
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/ConfigureProjectWizardMainPage.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/ConfigureProjectWizardMainPage.java
index b015af343..7df6e7b75 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/ConfigureProjectWizardMainPage.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/ConfigureProjectWizardMainPage.java
@@ -156,4 +156,10 @@ public class ConfigureProjectWizardMainPage extends WizardPage {
public void setProject(IProject project) {
this.project = project;
}
+ public void setVisible(boolean visible) {
+ super.setVisible(visible);
+ if (visible) {
+ table.setFocus();
+ }
+ }
}
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/ExportProjectSetMainPage.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/ExportProjectSetMainPage.java
index d83e0007f..20ae1d2a1 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/ExportProjectSetMainPage.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/ExportProjectSetMainPage.java
@@ -185,4 +185,10 @@ public class ExportProjectSetMainPage extends TeamWizardPage {
public void setSelectedProjects(IProject[] selectedProjects) {
this.selectedProjects.addAll(Arrays.asList(selectedProjects));
}
+ public void setVisible(boolean visible) {
+ super.setVisible(visible);
+ if (visible) {
+ fileText.setFocus();
+ }
+ }
}
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/ImportProjectSetMainPage.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/ImportProjectSetMainPage.java
index c9c509cf5..70609e0fe 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/ImportProjectSetMainPage.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/ImportProjectSetMainPage.java
@@ -120,4 +120,10 @@ public class ImportProjectSetMainPage extends TeamWizardPage {
this.file = file;
}
}
+ public void setVisible(boolean visible) {
+ super.setVisible(visible);
+ if (visible) {
+ fileText.setFocus();
+ }
+ }
} \ No newline at end of file

Back to the top