Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2007-10-22 21:20:18 +0000
committerChris Goldthorpe2007-10-22 21:20:18 +0000
commit094f2257fd9b0ca11f4481019ac20cd6415206f6 (patch)
tree1987b88f2fbc99823201ac7645a6f264f64168ca /org.eclipse.help.ui
parent74968cb009c797c99f2991fea2f38efd41e35e38 (diff)
downloadeclipse.platform.ua-094f2257fd9b0ca11f4481019ac20cd6415206f6.tar.gz
eclipse.platform.ua-094f2257fd9b0ca11f4481019ac20cd6415206f6.tar.xz
eclipse.platform.ua-094f2257fd9b0ca11f4481019ac20cd6415206f6.zip
Bug 192750 – [Help][Context] External links from context help tray open in the editor areav20071022
Diffstat (limited to 'org.eclipse.help.ui')
-rw-r--r--org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/ReusableHelpPart.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/ReusableHelpPart.java b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/ReusableHelpPart.java
index f74b3a15a..56ffbd42f 100644
--- a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/ReusableHelpPart.java
+++ b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/ReusableHelpPart.java
@@ -1228,9 +1228,15 @@ public class ReusableHelpPart implements IHelpUIConstants,
else {
try {
String aurl = BaseHelpSystem.resolve(url, true).toString();
+ /*
+ /* Previous code before fix for Bug 192750
if (aurl.endsWith("&noframes=true") || aurl.endsWith("?noframes=true")) //$NON-NLS-1$ //$NON-NLS-2$
aurl = aurl.substring(0, aurl.length() - 14);
DefaultHelpUI.showInWorkbenchBrowser(aurl, false);
+ */
+
+ PlatformUI.getWorkbench().getHelpSystem().displayHelpResource(aurl);
+
} catch (Exception e) {
HelpUIPlugin.logError("Error opening browser", e); //$NON-NLS-1$
}

Back to the top