Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.doc.util.context
Class SingleTopicContext

java.lang.Object
  extended by eu.esdihumboldt.hale.doc.util.context.SingleTopicContext
All Implemented Interfaces:
org.eclipse.help.IContext, org.eclipse.help.IContext2

public class SingleTopicContext
extends Object
implements org.eclipse.help.IContext2

A context with a single topic.

Author:
Simon Templer

Constructor Summary
SingleTopicContext(String title, String description, org.eclipse.help.IHelpResource topic)
          Create a context
 
Method Summary
 String getCategory(org.eclipse.help.IHelpResource topic)
           
 org.eclipse.help.IHelpResource[] getRelatedTopics()
           
 String getStyledText()
           
 String getText()
           
 String getTitle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleTopicContext

public SingleTopicContext(String title,
                          String description,
                          org.eclipse.help.IHelpResource topic)
Create a context

Parameters:
title - the title, may be null
description - the context description
topic - the context topic
Method Detail

getRelatedTopics

public org.eclipse.help.IHelpResource[] getRelatedTopics()
Specified by:
getRelatedTopics in interface org.eclipse.help.IContext
See Also:
IContext.getRelatedTopics()

getText

public String getText()
Specified by:
getText in interface org.eclipse.help.IContext
See Also:
IContext.getText()

getTitle

public String getTitle()
Specified by:
getTitle in interface org.eclipse.help.IContext2
See Also:
IContext2.getTitle()

getStyledText

public String getStyledText()
Specified by:
getStyledText in interface org.eclipse.help.IContext2
See Also:
IContext2.getStyledText()

getCategory

public String getCategory(org.eclipse.help.IHelpResource topic)
Specified by:
getCategory in interface org.eclipse.help.IContext2
See Also:
IContext2.getCategory(IHelpResource)

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d