Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2002-05-15 13:54:14 -0400
committerMichael Valenta2002-05-15 13:54:14 -0400
commit68a2ecd0df284d37a96ff985120c9a27eb042f3c (patch)
treefaeafece8c816ecf43dee9ca2350f13d174f384f /bundles/org.eclipse.team.cvs.ui
parente0419a816b95aa6c242eda6a92f6c6fed7fd2611 (diff)
downloadeclipse.platform.team-68a2ecd0df284d37a96ff985120c9a27eb042f3c.tar.gz
eclipse.platform.team-68a2ecd0df284d37a96ff985120c9a27eb042f3c.tar.xz
eclipse.platform.team-68a2ecd0df284d37a96ff985120c9a27eb042f3c.zip
Adding F1 help
Diffstat (limited to 'bundles/org.eclipse.team.cvs.ui')
-rw-r--r--bundles/org.eclipse.team.cvs.ui/help_contexts.xml25
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/IHelpContextIds.java2
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/ReleaseCommentDialog.java9
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/UserValidationDialog.java2
4 files changed, 32 insertions, 6 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/help_contexts.xml b/bundles/org.eclipse.team.cvs.ui/help_contexts.xml
index 9f31334e2..9b037bf2a 100644
--- a/bundles/org.eclipse.team.cvs.ui/help_contexts.xml
+++ b/bundles/org.eclipse.team.cvs.ui/help_contexts.xml
@@ -25,10 +25,29 @@
</context>
<context id="tag_configuration_refreshaction" >
- <description>This will fetch branch and version tags from the files that have been configured to be automatically searched for tags. If tags that you expected to see don't appear, try changing the list of files to examined via the tag configuration dialog.
- </description>
+ <description>This will fetch branch and version tags from the files that have been configured to be automatically searched for tags. If tags that you expected to see don't appear, try changing the list of files to examined via the tag configuration dialog.</description>
</context>
-
+
+ <!-- ********************************** -->
+ <!-- Dialogs -->
+ <!-- ********************************** -->
+
+ <context id="release_comment_dialog_context">
+ <description>Enter a comment to describe the contents of this release.</description>
+ <!-- Below copied from old VCM
+ <topic label="%context_ref_vcm_releasing" href="tasks/tasks-114.htm" />
+ -->
+ </context>
+ <context id="user_validation_dialog_context">
+ <description>In this dialog, enter the appropriate information to log in to the repository.
+ </description>
+ <!-- Below copied from old VCM
+ <topic label="%context_ref_vcm_repositories_concept" href="concepts/concepts-27c.htm" />
+ <topic label="%context_ref_vcm_create_repository_location" href="tasks/tasks-92.htm" />
+ <topic label="%context_ref_vcm_repositories_reference" href="reference/ref-47.htm" />
+ -->
+ </context>
+
<!-- ********************************** -->
<!-- Preference Pages -->
<!-- ********************************** -->
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/IHelpContextIds.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/IHelpContextIds.java
index fa7ea11a3..fc71b6923 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/IHelpContextIds.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/IHelpContextIds.java
@@ -17,6 +17,8 @@ public interface IHelpContextIds {
public static final String TAG_CONFIGURATION_OVERVIEW = PREFIX + "tag_configuration_overview"; //$NON-NLS-1$
public static final String TAG_CONFIGURATION_REFRESHLIST = PREFIX + "tag_configuration_refreshlist"; //$NON-NLS-1$
public static final String TAG_CONFIGURATION_REFRESHACTION = PREFIX + "tag_configuration_refreshaction"; //$NON-NLS-1$
+ public static final String USER_VALIDATION_DIALOG = PREFIX + "user_validation_dialog_context"; //$NON-NLS-1$
+ public static final String RELEASE_COMMENT_DIALOG = PREFIX + "release_comment_dialog_context"; //$NON-NLS-1$
// Preference Pages
public static final String PREF_PRUNE = PREFIX + "prune_empty_directories_pref"; //$NON-NLS-1$
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/ReleaseCommentDialog.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/ReleaseCommentDialog.java
index 1c2aaa29f..d5df7b4b0 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/ReleaseCommentDialog.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/ReleaseCommentDialog.java
@@ -7,15 +7,16 @@ package org.eclipse.team.internal.ccvs.ui;
import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.TraverseEvent;
-import org.eclipse.swt.events.TraverseListener;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.events.TraverseEvent;
+import org.eclipse.swt.events.TraverseListener;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Text;
+import org.eclipse.ui.help.WorkbenchHelp;
/**
* Prompts the user for a multi-line comment for releasing to CVS.
@@ -64,6 +65,10 @@ public class ReleaseCommentDialog extends Dialog {
}
}
});
+
+ // set F1 help
+ WorkbenchHelp.setHelp(composite, IHelpContextIds.RELEASE_COMMENT_DIALOG);
+
return composite;
}
/**
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/UserValidationDialog.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/UserValidationDialog.java
index 9802dfec6..d81c52f08 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/UserValidationDialog.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/UserValidationDialog.java
@@ -55,7 +55,7 @@ public class UserValidationDialog extends Dialog {
super.configureShell(newShell);
newShell.setText(Policy.bind("UserValidationDialog.required")); //$NON-NLS-1$
// set F1 help
- //WorkbenchHelp.setHelp(newShell, new Object[] {ICVSHelpContextIds.USER_VALIDATION_DIALOG});
+ WorkbenchHelp.setHelp(newShell, IHelpContextIds.USER_VALIDATION_DIALOG);
}
/**
* @see Window#create

Back to the top