org.eclipse.cdt.internal.ui.util
Class CUIHelp.CUIHelpContextProvider

java.lang.Object
  extended by org.eclipse.cdt.internal.ui.util.CUIHelp.CUIHelpContextProvider
All Implemented Interfaces:
org.eclipse.help.IContextProvider
Enclosing class:
CUIHelp

public static final class CUIHelp.CUIHelpContextProvider
extends java.lang.Object
implements org.eclipse.help.IContextProvider

A dynamic help context provider.

Since:
4.0

Field Summary
 
Fields inherited from interface org.eclipse.help.IContextProvider
NONE, SELECTION
 
Constructor Summary
CUIHelp.CUIHelpContextProvider(org.eclipse.ui.texteditor.ITextEditor editor)
          Creates a context provider for the given text editor.
 
Method Summary
 org.eclipse.help.IContext getContext(java.lang.Object target)
           
 int getContextChangeMask()
           
 java.lang.String getSearchExpression(java.lang.Object target)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CUIHelp.CUIHelpContextProvider

public CUIHelp.CUIHelpContextProvider(org.eclipse.ui.texteditor.ITextEditor editor)
Creates a context provider for the given text editor.

Parameters:
editor -
Method Detail

getContext

public org.eclipse.help.IContext getContext(java.lang.Object target)
Specified by:
getContext in interface org.eclipse.help.IContextProvider

getContextChangeMask

public int getContextChangeMask()
Specified by:
getContextChangeMask in interface org.eclipse.help.IContextProvider

getSearchExpression

public java.lang.String getSearchExpression(java.lang.Object target)
Specified by:
getSearchExpression in interface org.eclipse.help.IContextProvider