Eclipse Platform
Release 3.3

org.eclipse.ui.texteditor.spelling
Class SpellingAnnotation

java.lang.Object
  extended byorg.eclipse.jface.text.source.Annotation
      extended byorg.eclipse.ui.texteditor.spelling.SpellingAnnotation
All Implemented Interfaces:
IQuickFixableAnnotation

public class SpellingAnnotation
extends Annotation
implements IQuickFixableAnnotation

Spelling annotation.

Since:
3.3

Field Summary
static String TYPE
          The spelling annotation type.
 
Fields inherited from class org.eclipse.jface.text.source.Annotation
TYPE_UNKNOWN
 
Constructor Summary
SpellingAnnotation(SpellingProblem problem)
          Creates a new spelling annotation.
 
Method Summary
 SpellingProblem getSpellingProblem()
          Returns the spelling problem.
 boolean isQuickFixable()
           
 boolean isQuickFixableStateSet()
           
 void setQuickFixable(boolean state)
           
 
Methods inherited from class org.eclipse.jface.text.source.Annotation
getText, getType, isMarkedDeleted, isPersistent, markDeleted, setText, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final String TYPE
The spelling annotation type.

See Also:
Constant Field Values
Constructor Detail

SpellingAnnotation

public SpellingAnnotation(SpellingProblem problem)
Creates a new spelling annotation.

Parameters:
problem - the spelling problem.
Method Detail

isQuickFixable

public boolean isQuickFixable()
Specified by:
isQuickFixable in interface IQuickFixableAnnotation

isQuickFixableStateSet

public boolean isQuickFixableStateSet()
Specified by:
isQuickFixableStateSet in interface IQuickFixableAnnotation

setQuickFixable

public void setQuickFixable(boolean state)
Specified by:
setQuickFixable in interface IQuickFixableAnnotation

getSpellingProblem

public SpellingProblem getSpellingProblem()
Returns the spelling problem.

Returns:
the spelling problem

Eclipse Platform
Release 3.3

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.