public class SpellingContext extends Object
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.
Constructor and Description |
---|
SpellingContext()
Creates a new, un-initialized spelling context.
|
Modifier and Type | Method and Description |
---|---|
IContentType |
getContentType()
Returns the content type of the document.
|
void |
setContentType(IContentType contentType)
Sets the content type of the document.
|
public SpellingContext()
public void setContentType(IContentType contentType)
contentType
- the content type of the document or null
if unknownpublic IContentType getContentType()
null
if unknown
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.