|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.text.edits.TextEdit
org.eclipse.text.edits.MultiTextEdit
org.eclipse.core.filebuffers.manipulation.MultiTextEditWithProgress
Multi-text edit with progress reporting.
Field Summary |
---|
Fields inherited from class org.eclipse.text.edits.TextEdit |
---|
CREATE_UNDO, NONE, UPDATE_REGIONS |
Constructor Summary | |
---|---|
MultiTextEditWithProgress(String taskName)
|
Method Summary | |
---|---|
UndoEdit |
apply(IDocument document,
int style,
IProgressMonitor progressMonitor)
|
UndoEdit |
apply(IDocument document,
IProgressMonitor progressMonitor)
|
protected void |
childDocumentUpdated()
Hook method called when the document updating of a child edit has been completed. |
protected void |
childRegionUpdated()
Hook method called when the region updating of a child edit has been completed. |
Methods inherited from class org.eclipse.text.edits.MultiTextEdit |
---|
accept0, canZeroLengthCover, checkIntegrity, covers, doCopy, getLength, getOffset, toString |
Methods inherited from class org.eclipse.text.edits.TextEdit |
---|
accept, acceptChildren, addChild, addChildren, apply, apply, copy, equals, getChildren, getChildrenSize, getCoverage, getExclusiveEnd, getInclusiveEnd, getParent, getRegion, getRoot, hasChildren, hashCode, isDeleted, moveTree, postProcessCopy, removeChild, removeChild, removeChildren |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MultiTextEditWithProgress(String taskName)
Method Detail |
public final UndoEdit apply(IDocument document, IProgressMonitor progressMonitor) throws MalformedTreeException, BadLocationException
MalformedTreeException
BadLocationException
public final UndoEdit apply(IDocument document, int style, IProgressMonitor progressMonitor) throws MalformedTreeException, BadLocationException
MalformedTreeException
BadLocationException
protected void childDocumentUpdated()
TextEdit
TextEdit.apply(IDocument)
or
TextEdit.apply(IDocument, int)
this method is called
TextEdit.getChildrenSize()
times.
May be overridden by subclasses of MultiTextEdit
.
childDocumentUpdated
in class TextEdit
protected void childRegionUpdated()
TextEdit
TextEdit.apply(IDocument)
this method is
called TextEdit.getChildrenSize()
times. When calling
TextEdit.apply(IDocument, int)
this method is called
TextEdit.getChildrenSize()
times, when the style parameter contains the
TextEdit.UPDATE_REGIONS
flag.
May be overridden by subclasses of MultiTextEdit
.
childRegionUpdated
in class TextEdit
|
Eclipse Platform Release 3.1 |
|||||||||||
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, 2005. All rights reserved.