org.eclipse.cdt.internal.ui.util
Class CUIHelp.CUIHelpContextProvider
java.lang.Object
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
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. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CUIHelp.CUIHelpContextProvider
public CUIHelp.CUIHelpContextProvider(org.eclipse.ui.texteditor.ITextEditor editor)
- Creates a context provider for the given text editor.
- Parameters:
editor
-
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