public interface IFormattingStrategy
This interface must be implemented by clients. Implementers should be registered with a content formatter in order get involved in the formatting process.
|Modifier and Type||Method and Description|
Formats the given string.
Informs the strategy about the start of a formatting process in which it will participate.
Informs the strategy that the formatting process in which it has participated has been finished.
void formatterStarts(String initialIndentation)
initialIndentation- the indent string of the first line at which the overall formatting process starts.
content- the initial string to be formatted
isLineStart- indicates whether the beginning of content is a line start in its document
indentation- the indentation string to be used
positions- the character positions to be updated
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.