Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.common.help.internal
Class ContextWrapper

java.lang.Object
  extended by eu.esdihumboldt.hale.ui.common.help.internal.ContextWrapper
All Implemented Interfaces:
org.eclipse.help.IContext, org.eclipse.help.IContext2, org.eclipse.help.IContext3

public class ContextWrapper
extends Object
implements org.eclipse.help.IContext3

Context that wraps a given context and provides additional topics.

Author:
Simon Templer

Constructor Summary
ContextWrapper(org.eclipse.help.IContext context, Collection<org.eclipse.help.IHelpResource> additionalTopics)
          Create a wrapper for the given context.
 
Method Summary
 String getCategory(org.eclipse.help.IHelpResource topic)
           
 org.eclipse.help.ICommandLink[] getRelatedCommands()
           
 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

ContextWrapper

public ContextWrapper(org.eclipse.help.IContext context,
                      Collection<org.eclipse.help.IHelpResource> additionalTopics)
Create a wrapper for the given context.

Parameters:
context - the wrapped context
additionalTopics - the additional topics
Method Detail

getRelatedCommands

public org.eclipse.help.ICommandLink[] getRelatedCommands()
Specified by:
getRelatedCommands in interface org.eclipse.help.IContext3
See Also:
IContext3.getRelatedCommands()

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)

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()

Humboldt Alignment Editor 2.5.0

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