blob: 7003a292f0b895f4d7a484983ba0919e4f9dd42d [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2001, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
* Jens Lukowski/Innoopract - initial renaming/restructuring
*
*******************************************************************************/
package org.eclipse.wst.sse.ui.extensions.spellcheck;
/**
* ISpellChecker
*/
public interface SpellChecker {
// User Dictionary
void addWord(String word) throws SpellCheckException;
// Spell Check
SpellCheckElement[] createSingleWords(String text) throws SpellCheckException;
void deleteWord(String word) throws SpellCheckException;
String[] getCandidates(SpellCheckElement element) throws SpellCheckException;
String[] getUserWords() throws SpellCheckException;
SpellCheckElement verifySpell(SpellCheckElement element) throws SpellCheckException;
}