Interface IChangeSerializer

  • All Known Implementing Classes:
    ChangeSerializer

    public interface IChangeSerializer
    Converts changes from EMF models to the smallest possible text changes. The ChangeSerializer records changes in modifications that are added using addModification(T, IModification<T>). All corresponding ITextDocumentChanges can be retrieved in the end by calling applyModifications(IAcceptor). They contain ITextReplacement which may then be applied to an editor's contents or to a persisted file. In contrast to ISerializer, the ChangeSerializer aims to produce the smallest text changes possible, can handle changes that span multiple files, and is able to update cross references in related files. Just like ISerializer, the ChangeSerializer applies the IFormatter2 before returning TextReplacements.
    Since:
    2.13
    Noextend:
    This interface is not intended to be extended by clients.
    Noimplement:
    This interface is not intended to be implemented by clients.