Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.help.ui/src/org/eclipse/help/ui/internal/search/InfoCenterPage.java')
-rw-r--r--org.eclipse.help.ui/src/org/eclipse/help/ui/internal/search/InfoCenterPage.java11
1 files changed, 2 insertions, 9 deletions
diff --git a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/search/InfoCenterPage.java b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/search/InfoCenterPage.java
index 604467d6a..5b8de45d9 100644
--- a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/search/InfoCenterPage.java
+++ b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/search/InfoCenterPage.java
@@ -27,10 +27,9 @@ import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.help.INode;
import org.eclipse.help.IToc;
-import org.eclipse.help.ITocContribution;
import org.eclipse.help.ITopic;
+import org.eclipse.help.TocContribution;
import org.eclipse.help.internal.workingset.AdaptableHelpResource;
import org.eclipse.help.internal.workingset.AdaptableTocsArray;
import org.eclipse.help.internal.workingset.WorkingSet;
@@ -307,7 +306,7 @@ public class InfoCenterPage extends RootScopePage {
for (int i = 0; i < engines.getLength(); i++) {
final Node node = engines.item(i);
IToc toc = new IToc() {
- public ITocContribution getTocContribution() {
+ public TocContribution getTocContribution() {
return null;
}
public ITopic[] getTopics() {
@@ -324,12 +323,6 @@ public class InfoCenterPage extends RootScopePage {
return node.getAttributes().getNamedItem("label") //$NON-NLS-1$
.getNodeValue();
}
- public INode[] getChildren() {
- return new INode[0];
- }
- public INode getParent() {
- return null;
- }
};
list.add(toc);
}

Back to the top