Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.help
Interface IToc

All Superinterfaces:
IHelpResource, IUAElement

public interface IToc
extends IUAElement, IHelpResource

An IToc represents the root node of a toc, for either a complete toc (book) or a part of one to be assembled into a larger one.

Since:
2.0

Field Summary
static  String TOC
          This is element name used for TOC in XML files.
static  String TOPIC
          This is the attribute used for description topic in XML files.
 
Fields inherited from interface org.eclipse.help. IHelpResource
HREF, LABEL
 
Method Summary
  ITopic getTopic ( String href)
          Returns a topic with the specified href defined by this TOC.
  ITopic[] getTopics ()
          Obtains the topics directly contained by a toc.
 
Methods inherited from interface org.eclipse.help. IUAElement
getChildren, isEnabled
 
Methods inherited from interface org.eclipse.help. IHelpResource
getHref, getLabel
 

Field Detail

TOC

static final 
String TOC
This is element name used for TOC in XML files.

See Also:
Constant Field Values

TOPIC

static final 
String TOPIC
This is the attribute used for description topic in XML files.

See Also:
Constant Field Values
Method Detail

getTopics


ITopic[] getTopics()
Obtains the topics directly contained by a toc.

Returns:
Array of ITopic

getTopic


ITopic getTopic(
String href)
Returns a topic with the specified href defined by this TOC.
If the TOC contains multiple topics with the same href only of them (arbitrarily chosen) will be returned.

If no topic is specified, then the TOC description topic is returned, or null if there is no description topic for the TOC.

Parameters:
href - the topic's URL or null
Returns:
ITopic or null

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire