1 11 12 package org.eclipse.jdt.internal.ui.text.spelling.engine; 13 14 import java.util.Locale ; 15 import java.util.Set ; 16 17 22 public interface ISpellChecker { 23 24 30 void addDictionary(ISpellDictionary dictionary); 31 32 38 void addListener(ISpellEventListener listener); 39 40 45 boolean acceptsWords(); 46 47 53 void addWord(String word); 54 55 61 void checkWord(String word); 62 63 70 void execute(ISpellCheckIterator iterator); 71 72 82 Set getProposals(String word, boolean sentence); 83 84 90 void ignoreWord(String word); 91 92 101 boolean isCorrect(String word); 102 103 109 void removeDictionary(ISpellDictionary dictionary); 110 111 117 void removeListener(ISpellEventListener listener); 118 119 125 Locale getLocale(); 126 } 127 | Popular Tags |