Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/AllTopicsPart.java')
-rw-r--r--org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/AllTopicsPart.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/AllTopicsPart.java b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/AllTopicsPart.java
index d0679e459..761e26617 100644
--- a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/AllTopicsPart.java
+++ b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/AllTopicsPart.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -98,15 +98,15 @@ public class AllTopicsPart extends HyperlinkTreePart {
boolean expandable = treeViewer.isExpandable(obj);
if (obj instanceof Toc){
Toc toc = (Toc) obj;
- Image icon = HelpUIResources.getImageFromId(toc.getIcon(), expanded, !expandable);
+ Image icon = HelpUIResources.getImageFromId(toc.getIcon(), expanded, !expandable);
if (icon != null) {
return icon;
- }
+ }
}
-
+
if (obj instanceof Topic) {
- Topic topic = (Topic) obj;
- Image icon = HelpUIResources.getImageFromId(topic.getIcon(), expanded, !expandable);
+ Topic topic = (Topic) obj;
+ Image icon = HelpUIResources.getImageFromId(topic.getIcon(), expanded, !expandable);
if (icon != null) {
return icon;
}
@@ -250,7 +250,7 @@ public class AllTopicsPart extends HyperlinkTreePart {
}
}
}
-
+
public void selectReveal(IHelpResource res) {
treeViewer.setSelection(new StructuredSelection(res), true);
treeViewer.expandToLevel(res, 1);

Back to the top