summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorPhilipp Thun2010-12-02 13:42:43 (EST)
committer Philipp Thun2010-12-02 13:42:43 (EST)
commitc2f33760e63131daac155bfcd8fd958444a26c47 (patch)
tree0fd0c291721951c84af8a3ba8322012bc23443fd
parentcc8c842bd630dadc3670469fba283cd8f0b0e803 (diff)
downloadegit-c2f33760e63131daac155bfcd8fd958444a26c47.zip
egit-c2f33760e63131daac155bfcd8fd958444a26c47.tar.gz
egit-c2f33760e63131daac155bfcd8fd958444a26c47.tar.bz2
Remove help button (? icon) from dialogsrefs/changes/04/2004/2
Most EGit dialogs showed a help button that was unusable, i.e. did not link to correct documentation but only opened a generic help pane. This patch removes the help buttons for all Classes extending org.eclipse.jface.dialogs.TitleAreaDialog. Change-Id: I7c6ba2721a117940c568d260640f599f26d4486c Signed-off-by: Philipp Thun <philipp.thun@sap.com>
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/AbstractBranchSelectionDialog.java2
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CreateTagDialog.java2
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/GitTraceConfigurationDialog.java1
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/AddConfigEntryDialog.java1
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushResultDialog.java1
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositoryPropertySource.java1
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/synchronize/SelectSynchronizeResourceDialog.java1
7 files changed, 9 insertions, 0 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/AbstractBranchSelectionDialog.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/AbstractBranchSelectionDialog.java
index 93fb734..26b79c9 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/AbstractBranchSelectionDialog.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/AbstractBranchSelectionDialog.java
@@ -90,6 +90,7 @@ public abstract class AbstractBranchSelectionDialog extends TitleAreaDialog {
public AbstractBranchSelectionDialog(Shell parentShell,
Repository repository) {
this(parentShell, repository, null);
+ setHelpAvailable(false);
}
/**
@@ -109,6 +110,7 @@ public abstract class AbstractBranchSelectionDialog extends TitleAreaDialog {
remoteBranches = new RemoteTrackingNode(null, this.repo);
tags = new TagsNode(null, this.repo);
this.refToMark = refToMark;
+ setHelpAvailable(false);
}
/**
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CreateTagDialog.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CreateTagDialog.java
index 387e6d8..af2e31e 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CreateTagDialog.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CreateTagDialog.java
@@ -162,6 +162,7 @@ public class CreateTagDialog extends TitleAreaDialog {
this.branchName = branchName;
this.commitId = null;
this.repo = repo;
+ setHelpAvailable(false);
}
/**
@@ -178,6 +179,7 @@ public class CreateTagDialog extends TitleAreaDialog {
this.branchName = null;
this.commitId = commitId;
this.repo = repo;
+ setHelpAvailable(false);
}
/**
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/GitTraceConfigurationDialog.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/GitTraceConfigurationDialog.java
index 03793af..67a4009 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/GitTraceConfigurationDialog.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/GitTraceConfigurationDialog.java
@@ -222,6 +222,7 @@ public class GitTraceConfigurationDialog extends TitleAreaDialog {
*/
public GitTraceConfigurationDialog(Shell shell) {
super(shell);
+ setHelpAvailable(false);
}
@Override
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/AddConfigEntryDialog.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/AddConfigEntryDialog.java
index dcc40d3..f5a14c9 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/AddConfigEntryDialog.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/AddConfigEntryDialog.java
@@ -56,6 +56,7 @@ public class AddConfigEntryDialog extends TitleAreaDialog {
setHelpAvailable(false);
currentConfig = config;
this.suggestedKey = suggestedKey;
+ setHelpAvailable(false);
}
@Override
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushResultDialog.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushResultDialog.java
index 738a1c9..f8f3e1e 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushResultDialog.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushResultDialog.java
@@ -35,6 +35,7 @@ class PushResultDialog extends TitleAreaDialog {
this.localDb = localDb;
this.result = result;
this.destinationString = destinationString;
+ setHelpAvailable(false);
}
@Override
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositoryPropertySource.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositoryPropertySource.java
index 8bab8f5..69fb249 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositoryPropertySource.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositoryPropertySource.java
@@ -453,6 +453,7 @@ public class RepositoryPropertySource implements IPropertySource {
myConfig = config;
setShellStyle(getShellStyle() | SWT.SHELL_TRIM);
myTitle = title;
+ setHelpAvailable(false);
}
@Override
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/synchronize/SelectSynchronizeResourceDialog.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/synchronize/SelectSynchronizeResourceDialog.java
index 9ffa40f..5bc3073 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/synchronize/SelectSynchronizeResourceDialog.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/synchronize/SelectSynchronizeResourceDialog.java
@@ -68,6 +68,7 @@ public class SelectSynchronizeResourceDialog extends TitleAreaDialog {
this.repoName = repoDirectory.getParentFile().getName()
+ File.separator + repoDirectory.getName();
this.syncRepos = syncRepos;
+ setHelpAvailable(false);
}
/**