Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2011-04-18 08:38:13 +0000
committerDani Megert2011-04-18 08:38:13 +0000
commitd4d7173fe539db4fdb3efa350a83c3e5e3e127bb (patch)
tree0d061fbf6bb857f001ab05075b95844ddfa030e4
parentef42cca842cf5988029578e610875a04a639e0bb (diff)
downloadeclipse.platform.team-d4d7173fe539db4fdb3efa350a83c3e5e3e127bb.tar.gz
eclipse.platform.team-d4d7173fe539db4fdb3efa350a83c3e5e3e127bb.tar.xz
eclipse.platform.team-d4d7173fe539db4fdb3efa350a83c3e5e3e127bb.zip
Don't show help controls.
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSHistoryFilterDialog.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSHistoryFilterDialog.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSHistoryFilterDialog.java
index 062ec118b..842bc6c19 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSHistoryFilterDialog.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSHistoryFilterDialog.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2006, 2008 IBM Corporation and others.
+ * Copyright (c) 2006, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -36,11 +36,13 @@ public class CVSHistoryFilterDialog extends TrayDialog {
public CVSHistoryFilterDialog(Shell shell) {
super(shell);
+ setHelpAvailable(false); // Disable help controls - F1 will still work
}
protected void configureShell(Shell newShell) {
super.configureShell(newShell);
newShell.setText(CVSUIMessages.HistoryFilterDialog_title);
+ PlatformUI.getWorkbench().getHelpSystem().setHelp(newShell, IHelpContextIds.HISTORY_FILTER_DIALOG);
}
protected Control createDialogArea(Composite parent) {
@@ -95,8 +97,6 @@ public class CVSHistoryFilterDialog extends TrayDialog {
initializeValues();
- // set F1 help
- PlatformUI.getWorkbench().getHelpSystem().setHelp(topLevel, IHelpContextIds.HISTORY_FILTER_DIALOG);
Dialog.applyDialogFont(parent);
return topLevel;
}

Back to the top