diff options
author | Chris Goldthorpe | 2009-07-22 22:41:02 +0000 |
---|---|---|
committer | Chris Goldthorpe | 2009-07-22 22:41:02 +0000 |
commit | 77fd2dca17764168d36a1a0a973f833683ecc67d (patch) | |
tree | bef29bc8d52aea389e04100cebb15780bf67d9b9 /org.eclipse.help | |
parent | 76f663ce9b88bf079e395d48df94fb939c9a425f (diff) | |
download | eclipse.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.java | 6 |
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; } |