Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2009-10-14 19:20:10 +0000
committerChris Goldthorpe2009-10-14 19:20:10 +0000
commitdb552d7096ea655f99419f12e9f05edcf7ae0fa5 (patch)
treec24e26d86e1bd19bf99edc337085b50ab6a901b4 /org.eclipse.help
parentb1f382c9df692e8ab3ab874b3f9884151a220723 (diff)
downloadeclipse.platform.ua-db552d7096ea655f99419f12e9f05edcf7ae0fa5.tar.gz
eclipse.platform.ua-db552d7096ea655f99419f12e9f05edcf7ae0fa5.tar.xz
eclipse.platform.ua-db552d7096ea655f99419f12e9f05edcf7ae0fa5.zip
Modify rule for displaying see also so see also used only if parent has topics or subentries
Diffstat (limited to 'org.eclipse.help')
-rw-r--r--org.eclipse.help/src/org/eclipse/help/internal/index/IndexSee.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.help/src/org/eclipse/help/internal/index/IndexSee.java b/org.eclipse.help/src/org/eclipse/help/internal/index/IndexSee.java
index be1a9e14d..0d59f4aa0 100644
--- a/org.eclipse.help/src/org/eclipse/help/internal/index/IndexSee.java
+++ b/org.eclipse.help/src/org/eclipse/help/internal/index/IndexSee.java
@@ -101,7 +101,8 @@ public class IndexSee extends UAElement implements IIndexSee, Comparable {
}
public boolean isSeeAlso() {
- return !this.equals(getParentElement().getChildren()[0]);
+ UAElement parentElement = getParentElement();
+ return ! (parentElement.getChildren()[0] instanceof IIndexSee);
}
public IIndexSubpath[] getSubpathElements() {

Back to the top