Eclipse Platform
Release 3.1

org.eclipse.ui.texteditor.spelling
Interface ISpellingProblemCollector


public interface ISpellingProblemCollector

A collector of SpellingProblems. The SpellingService service will report its results to such a collector.

An implementer may specify if a collector is thread aware, i.e., if problems can be reported by any thread, potentially in parallel, and thus, multiple reporting sessions may be active at the same time. Clients of concrete collectors in turn must evaluate the usage of their collector and chose an appropriate implementation.

This interface is intended to be implemented by clients.

Since:
3.1
See Also:
SpellingService

Method Summary
 void accept(SpellingProblem problem)
          Notification of a spelling problem.
 void beginCollecting()
          Notification sent before starting to collect problems.
 void endCollecting()
          Notification sent after completing to collect problems.
 

Method Detail

accept

public void accept(SpellingProblem problem)
Notification of a spelling problem.

Parameters:
problem - the spelling problem

beginCollecting

public void beginCollecting()
Notification sent before starting to collect problems. This method will be called by the spelling infrastructure and is not intended to be called by clients.


endCollecting

public void endCollecting()
Notification sent after completing to collect problems. This method will be called by the spelling infrastructure and is not intended to be called by clients.


Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

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