|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A target publishing the required functions to modify a document that is displayed in a text viewer. It provides access to the document and control over the redraw behavior and the grouping of document changes into undo commands.
Method Summary | |
void | beginCompoundChange()
If an undo manager is connected to the document's visible presentation, this method tells the undo manager to fold all subsequent changes into one single undo command until endCompoundChange is called. |
void | endCompoundChange()
If an undo manager is connected to the document's visible presentation, this method tells the undo manager to stop the folding of changes into a single undo command. |
IDocument | getDocument()
Returns the document of this target. |
void | setRedraw(boolean redraw)
Disables/enables redrawing while modifying the target's document. |
Method Detail |
public IDocument getDocument()
public void setRedraw(boolean redraw)
public void beginCompoundChange()
public void endCompoundChange()
|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.