| org.drools.eclipse.dsl.editor.TransformedDocument
All known Subclasses: org.drools.eclipse.dsl.editor.DSLtoDRLDocument,
TransformedDocument | abstract public class TransformedDocument extends AbstractDocument (Code) | | A document that transforms the input of the original document
to something else. Changing something in this document will
NOT change the original document (as the transformation is only
defined in one way). All changes will also be overridden as soon
as the original document changes.
author: Kris Verlaenen |
Method Summary | |
protected ITextStore | getStore() Always check that the store is up-to-date. | abstract protected String | transformInput(String content) Transforms the original content of the document. |
TransformedDocument | public TransformedDocument(IDocument parentDocument)(Code) | | |
getStore | protected ITextStore getStore()(Code) | | Always check that the store is up-to-date.
All read operations access the store so this method makes sure
that the document is updated whenever necessary.
|
transformInput | abstract protected String transformInput(String content)(Code) | | Transforms the original content of the document.
|
|
|