Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.help/src/org/eclipse/help/internal/index/IndexEntry.java')
-rw-r--r--org.eclipse.help/src/org/eclipse/help/internal/index/IndexEntry.java11
1 files changed, 9 insertions, 2 deletions
diff --git a/org.eclipse.help/src/org/eclipse/help/internal/index/IndexEntry.java b/org.eclipse.help/src/org/eclipse/help/internal/index/IndexEntry.java
index 22d121a84..14377714f 100644
--- a/org.eclipse.help/src/org/eclipse/help/internal/index/IndexEntry.java
+++ b/org.eclipse.help/src/org/eclipse/help/internal/index/IndexEntry.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2005, 2007 Intel Corporation and others.
+ * Copyright (c) 2005, 2009 Intel 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
@@ -8,15 +8,18 @@
* Contributors:
* Intel Corporation - initial API and implementation
* IBM Corporation - 122967 [Help] Remote help system
+ * IBM Corporation - Added support for see references
*******************************************************************************/
package org.eclipse.help.internal.index;
import org.eclipse.help.IIndexEntry;
+import org.eclipse.help.IIndexEntry2;
+import org.eclipse.help.IIndexSee;
import org.eclipse.help.ITopic;
import org.eclipse.help.internal.UAElement;
import org.w3c.dom.Element;
-public class IndexEntry extends UAElement implements IIndexEntry {
+public class IndexEntry extends UAElement implements IIndexEntry2 {
public static final String NAME = "entry"; //$NON-NLS-1$
public static final String ATTRIBUTE_KEYWORD = "keyword"; //$NON-NLS-1$
@@ -46,4 +49,8 @@ public class IndexEntry extends UAElement implements IIndexEntry {
public void setKeyword(String keyword) {
setAttribute(ATTRIBUTE_KEYWORD, keyword);
}
+
+ public IIndexSee[] getSees() {
+ return (IIndexSee[])getChildren(IIndexSee.class);
+ }
}

Back to the top