public interface IReconciler
IReconcilerdefines and maintains a model of the content of the text viewer's document in the presence of changes applied to this document. An
Reconcilers are assumed to be asynchronous, i.e. they allow a certain temporal window of inconsistency between the document and the model of the content of this document.
Reconcilers have a list of
objects each of which is registered for a particular document content type.
The reconciler uses the strategy objects to react on the changes applied
to the text viewer's document.
In order to provide backward compatibility for clients of
interfaces are used to provide a means of evolution. The following extension interfaces exist:
IReconcilerExtensionsince version 3.0 introducing the ability to be aware of documents with multiple partitionings.
|Modifier and Type||Method and Description|
Returns the reconciling strategy registered with the reconciler for the specified content type.
Installs the reconciler on the given text viewer.
Removes the reconciler from the text viewer it has previously been installed on.
void install(ITextViewer textViewer)
textViewer- the viewer on which the reconciler is installed
IReconcilingStrategy getReconcilingStrategy(String contentType)
contentType- the content type for which to determine the reconciling strategy
nullif there is no such strategy
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.