Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2005-06-03 11:23:56 -0400
committerMichael Valenta2005-06-03 11:23:56 -0400
commit0ac1e9a02c8f091438db0dda70d927a4d72a253d (patch)
tree123e8051b92d182efd814825be61d247cc8d97e8
parent3225b2578bbbcff230ea7b7852ccabee1774e7c5 (diff)
downloadeclipse.platform.team-0ac1e9a02c8f091438db0dda70d927a4d72a253d.tar.gz
eclipse.platform.team-0ac1e9a02c8f091438db0dda70d927a4d72a253d.tar.xz
eclipse.platform.team-0ac1e9a02c8f091438db0dda70d927a4d72a253d.zip
Bug 97336 Missing F1 Help
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecoratorPreferencesPage.java2
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSFieldEditorPreferencePage.java2
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/ExtMethodPreferencePage.java2
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/console/ConsolePreferencesPage.java2
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/preferences/IgnorePreferencePage.java7
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/preferences/SyncViewerPreferencePage.java2
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/preferences/TextPreferencePage.java6
7 files changed, 13 insertions, 10 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecoratorPreferencesPage.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecoratorPreferencesPage.java
index 89f3527d0..c0ce433aa 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecoratorPreferencesPage.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecoratorPreferencesPage.java
@@ -551,7 +551,7 @@ public class CVSDecoratorPreferencesPage extends PreferencePage implements IWork
fGeneralTab.addObserver(fPreview);
initializeValues();
- PlatformUI.getWorkbench().getHelpSystem().setHelp(tabFolder, IHelpContextIds.DECORATORS_PREFERENCE_PAGE);
+ PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(), IHelpContextIds.DECORATORS_PREFERENCE_PAGE);
Dialog.applyDialogFont(parent);
PlatformUI.getWorkbench().getThemeManager().addPropertyChangeListener(fThemeListener= new ThemeListener(fPreview));
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSFieldEditorPreferencePage.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSFieldEditorPreferencePage.java
index 7c3e35ea3..af4de7e73 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSFieldEditorPreferencePage.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSFieldEditorPreferencePage.java
@@ -45,7 +45,7 @@ public abstract class CVSFieldEditorPreferencePage extends FieldEditorPreference
Control control = super.createContents(parent);
String id = getPageHelpContextId();
if (id != null)
- PlatformUI.getWorkbench().getHelpSystem().setHelp(control, id);
+ PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(), id);
Dialog.applyDialogFont(control);
return control;
}
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/ExtMethodPreferencePage.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/ExtMethodPreferencePage.java
index ce4adc95d..2b0155524 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/ExtMethodPreferencePage.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/ExtMethodPreferencePage.java
@@ -63,7 +63,7 @@ public class ExtMethodPreferencePage extends PreferencePage implements IWorkbenc
internal = createInternalArea(composite);
initializeDefaults();
- PlatformUI.getWorkbench().getHelpSystem().setHelp(composite, IHelpContextIds.EXT_PREFERENCE_PAGE);
+ PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(), IHelpContextIds.EXT_PREFERENCE_PAGE);
Dialog.applyDialogFont(parent);
return composite;
}
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/console/ConsolePreferencesPage.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/console/ConsolePreferencesPage.java
index 950a99e06..7eb85276f 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/console/ConsolePreferencesPage.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/console/ConsolePreferencesPage.java
@@ -78,7 +78,7 @@ public class ConsolePreferencesPage extends FieldEditorPreferencePage implements
addField(errorColorEditor);
Dialog.applyDialogFont(composite);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(composite, IHelpContextIds.CONSOLE_PREFERENCE_PAGE);
+ PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(), IHelpContextIds.CONSOLE_PREFERENCE_PAGE);
}
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/preferences/IgnorePreferencePage.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/preferences/IgnorePreferencePage.java
index ac4450f81..e8d4927fc 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/preferences/IgnorePreferencePage.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/preferences/IgnorePreferencePage.java
@@ -49,9 +49,6 @@ public class IgnorePreferencePage extends PreferencePage implements IWorkbenchPr
data.verticalAlignment = GridData.FILL;
data.horizontalAlignment = GridData.FILL;
parent.setLayoutData(data);
-
- // set F1 help
- PlatformUI.getWorkbench().getHelpSystem().setHelp(parent, IHelpContextIds.IGNORE_PREFERENCE_PAGE);
Label l1 = new Label(parent, SWT.NULL);
l1.setText(TeamUIMessages.IgnorePreferencePage_ignorePatterns); //$NON-NLS-1$
@@ -106,6 +103,10 @@ public class IgnorePreferencePage extends PreferencePage implements IWorkbenchPr
});
fillTable(Team.getAllIgnores());
Dialog.applyDialogFont(ancestor);
+
+ // set F1 help
+ PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(), IHelpContextIds.IGNORE_PREFERENCE_PAGE);
+
return parent;
}
/**
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/preferences/SyncViewerPreferencePage.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/preferences/SyncViewerPreferencePage.java
index 213240cdc..30910dbe0 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/preferences/SyncViewerPreferencePage.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/preferences/SyncViewerPreferencePage.java
@@ -61,7 +61,7 @@ public class SyncViewerPreferencePage extends FieldEditorPreferencePage implemen
public void createControl(Composite parent) {
super.createControl(parent);
// set F1 help
- PlatformUI.getWorkbench().getHelpSystem().setHelp(parent, IHelpContextIds.SYNC_PREFERENCE_PAGE);
+ PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(), IHelpContextIds.SYNC_PREFERENCE_PAGE);
}
/* (non-Javadoc)
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/preferences/TextPreferencePage.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/preferences/TextPreferencePage.java
index fd7561969..4d4ce6175 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/preferences/TextPreferencePage.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/preferences/TextPreferencePage.java
@@ -132,8 +132,6 @@ public class TextPreferencePage extends PreferencePage implements IWorkbenchPref
*/
protected Control createContents(Composite parent) {
- // set F1 help
- PlatformUI.getWorkbench().getHelpSystem().setHelp(parent, IHelpContextIds.FILE_TYPE_PREFERENCE_PAGE);
initializeDialogUnits(parent);
final PixelConverter converter= SWTUtils.createDialogPixelConverter(parent);
@@ -209,6 +207,10 @@ public class TextPreferencePage extends PreferencePage implements IWorkbenchPref
});
Dialog.applyDialogFont(parent);
+
+ // set F1 help
+ PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(), IHelpContextIds.FILE_TYPE_PREFERENCE_PAGE);
+
return composite;
}

Back to the top