Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2007-07-25 20:10:57 +0000
committerChris Goldthorpe2007-07-25 20:10:57 +0000
commit065f040c736bf857c663d69b8cac160451034205 (patch)
treee37ff59499ff61690feb9b8c0e7eb9a42dc63d2f
parenta5bcbab7b865a18be6b8e277a040ec15c0be7c36 (diff)
downloadeclipse.platform.ua-065f040c736bf857c663d69b8cac160451034205.tar.gz
eclipse.platform.ua-065f040c736bf857c663d69b8cac160451034205.tar.xz
eclipse.platform.ua-065f040c736bf857c663d69b8cac160451034205.zip
Bug 197849 - [Help][Context] Context help often does not show the view name
-rw-r--r--org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/ContextHelpPart.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/ContextHelpPart.java b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/ContextHelpPart.java
index bd0fd5beb..80ece94b6 100644
--- a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/ContextHelpPart.java
+++ b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/ContextHelpPart.java
@@ -269,19 +269,19 @@ public class ContextHelpPart extends SectionPart implements IHelpPart {
helpText = formatHelpContext(lastContext);
else
helpText = createContextHelp(c);
- updateTitle(context!=null);
+ updateTitle();
if (getSection().isExpanded())
updateText(helpText);
updateDynamicHelp(context!=null);
}
- private void updateTitle(boolean contextSupplied) {
+ private void updateTitle() {
String title = null;
if (lastContext != null && lastContext instanceof IContext2) {
IContext2 c2 = (IContext2)lastContext;
title = c2.getTitle();
}
- if (title==null && !contextSupplied && lastPart != null)
+ if (title==null && lastPart != null)
title = NLS.bind(Messages.ContextHelpPart_aboutP, lastPart
.getSite().getRegisteredName());
if (title==null)

Back to the top