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.ui.help
Interface IContextComputer

All Known Implementing Classes:
DialogPageContextComputer, ViewContextComputer

Deprecated. nested contexts are no longer supported by the help support system

public interface IContextComputer

A content computer is used to dynamically calculate help support contexts at the time the user requests help.

This interface may be implemented by clients.


Method Summary
  Object[] computeContexts ( HelpEvent event)
          Deprecated. Computes contexts for the help system.
  Object[] getLocalContexts ( HelpEvent event)
          Deprecated. Returns the local contexts for this context computer.
 

Method Detail

computeContexts

Object[] computeContexts(
HelpEvent event)
Deprecated. 
Computes contexts for the help system.

Parameters:
event - the help event which triggered this request for help
Returns:
a mixed-type array of context ids (type String) and/or help contexts (type IContext)
See Also:
IContext

getLocalContexts

Object[] getLocalContexts(
HelpEvent event)
Deprecated. 
Returns the local contexts for this context computer.

Typically this method is called by other instances of IContextComputer in their computeContexts method.

The important concept here is that the value returned by computeContexts represents the complete help contexts and is passed directly to the help support system.

However the value returned by this method represents the only the contexts for the particular control with which this IContextComputer is associated.

Parameters:
event - the help event which triggered this request for help
Returns:
a mixed-type array of context ids (type String) and/or help contexts (type IContext)
See Also:
IContext

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