| java.lang.Object org.eclipse.ui.texteditor.spelling.SpellingContext
SpellingContext | public class SpellingContext (Code) | | A spelling context allows a
ISpellingEngine to retrieve information
about the spelling check it has to perform.
This class is not intended to be subclassed by clients. The amount of
information provided in this context may grow over time.
since: 3.1 |
Constructor Summary | |
public | SpellingContext() Creates a new, un-initialized spelling context. |
Method Summary | |
public IContentType | getContentType() Returns the content type of the document. | public void | setContentType(IContentType contentType) Sets the content type of the document. |
SpellingContext | public SpellingContext()(Code) | | Creates a new, un-initialized spelling context.
|
getContentType | public IContentType getContentType()(Code) | | Returns the content type of the document.
the content type of the document or null if unknown |
setContentType | public void setContentType(IContentType contentType)(Code) | | Sets the content type of the document.
Parameters: contentType - the content type of the document or null if unknown |
|
|