|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An auto indent strategy can adapt changes that will be applied to
a text viewer's document. The strategy is informed by the text viewer
about each upcoming change in form of a document command. By manipulating
this document command, the strategy can influence in which way the text
viewer's document is changed. Clients may implement this interface or
use the standard implementation DefaultAutoIndentStrategy
.
Method Summary | |
void |
customizeDocumentCommand(IDocument document,
DocumentCommand command)
Allows the strategy to manipulate the document command. |
Method Detail |
public void customizeDocumentCommand(IDocument document, DocumentCommand command)
document
- the document that will be changedcommand
- the document command describing the indented change
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |