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

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 IContext

All Known Subinterfaces:
IContext2, IContext3

public interface IContext

A context registered for context-sensitive help.

This interface models the context-sensitive help that can be associated with SWT menus, menu items, and controls, and with JFace actions. A help context provides the text description of the object with which it is associated with, as well as topic links that contain more related information. This information would be displayed to the user when context sensitive help (F1) is requested.

In the current implementation of the Help system, valid contexts can be contributed through the contexts element of the "org.eclipse.help.contexts" extension point. The IHelp.findContext(String) method is used at runtime to create or fetch IContext objects using there fully qualified contextIds. If there is a need to override this behavior, then this IContext interface could be implemented by a client and registered with the SWT control or JFace action.


Method Summary
  IHelpResource[] getRelatedTopics ()
          Returns a list of related topics for this help context.
  String getText ()
          Returns the text description for this context.
 

Method Detail

getRelatedTopics

IHelpResource[] getRelatedTopics()
Returns a list of related topics for this help context.

Returns:
a list of related help topics or null if no related topics have been defined for this context.
Since:
2.0

getText

String getText()
Returns the text description for this context.

Returns:
the text description

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