|
Eclipse Platform 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Slave documents are documents that use a text store which is based on a master document.
Method Summary | |
IDocumentInformationMapping |
createMasterSlaveMapping(IDocument slave)
Creates a new mapping between the given slave document and its master. |
IDocument |
createSlaveDocument(IDocument master)
Creates a new slave document for the given master document. |
void |
freeSlaveDocument(IDocument slave)
Frees the given slave document. |
IDocument |
getMasterDocument(IDocument slave)
Returns the master of the given slave document. |
boolean |
isSlaveDocument(IDocument document)
Method isSlaveDocument. |
void |
setAutoExpandMode(IDocument slave,
boolean autoExpand)
Sets the given document's auto expand mode. |
Method Detail |
public IDocument createSlaveDocument(IDocument master)
master
-
public void freeSlaveDocument(IDocument slave)
slave
- public IDocumentInformationMapping createMasterSlaveMapping(IDocument slave)
public IDocument getMasterDocument(IDocument slave)
slave
-
public boolean isSlaveDocument(IDocument document)
document
-
public void setAutoExpandMode(IDocument slave, boolean autoExpand)
slave
- the slave whose auto expand mode should be setautoExpand
- the mode
|
Eclipse Platform 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |