Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2009-07-22 22:41:02 +0000
committerChris Goldthorpe2009-07-22 22:41:02 +0000
commit77fd2dca17764168d36a1a0a973f833683ecc67d (patch)
treebef29bc8d52aea389e04100cebb15780bf67d9b9 /org.eclipse.help
parent76f663ce9b88bf079e395d48df94fb939c9a425f (diff)
downloadeclipse.platform.ua-77fd2dca17764168d36a1a0a973f833683ecc67d.tar.gz
eclipse.platform.ua-77fd2dca17764168d36a1a0a973f833683ecc67d.tar.xz
eclipse.platform.ua-77fd2dca17764168d36a1a0a973f833683ecc67d.zip
Bug 226595 – [Help] Help index cannot handle multiple files with same ID
Diffstat (limited to 'org.eclipse.help')
-rw-r--r--org.eclipse.help/src/org/eclipse/help/internal/index/IndexAssembler.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/org.eclipse.help/src/org/eclipse/help/internal/index/IndexAssembler.java b/org.eclipse.help/src/org/eclipse/help/internal/index/IndexAssembler.java
index 93e249eba..638470bf7 100644
--- a/org.eclipse.help/src/org/eclipse/help/internal/index/IndexAssembler.java
+++ b/org.eclipse.help/src/org/eclipse/help/internal/index/IndexAssembler.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2006, 2008 IBM Corporation and others.
+ * Copyright (c) 2006, 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -181,6 +181,10 @@ public class IndexAssembler {
topic.setHref(HrefUtil.normalizeHref(pluginId, href));
}
}
+ String title = element.getAttribute("title"); //$NON-NLS-1$
+ if (title != null) {
+ topic.setLabel(title);
+ }
}
return UNHANDLED;
}

Back to the top