org.eclipse.ui.texteditor.spelling
Interface ISpellingProblemCollector
-
public interface ISpellingProblemCollector
A collector of
SpellingProblem
s. 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. |
accept
void accept(
SpellingProblem problem)
- Notification of a spelling problem.
-
-
Parameters:
-
problem
- the spelling problem
beginCollecting
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
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.
-
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.