public class MultiTextEditWithProgress extends MultiTextEdit
CREATE_UNDO, NONE, UPDATE_REGIONS| Constructor and Description |
|---|
MultiTextEditWithProgress(String taskName) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
accept0, canZeroLengthCover, checkIntegrity, covers, doCopy, getLength, getOffset, toStringaccept, acceptChildren, addChild, addChildren, apply, apply, copy, equals, getChildren, getChildrenSize, getCoverage, getExclusiveEnd, getInclusiveEnd, getParent, getRegion, getRoot, hasChildren, hashCode, isDeleted, moveTree, postProcessCopy, removeChild, removeChild, removeChildrenpublic MultiTextEditWithProgress(String taskName)
public final UndoEdit apply(IDocument document, IProgressMonitor progressMonitor) throws MalformedTreeException, BadLocationException
public final UndoEdit apply(IDocument document, int style, IProgressMonitor progressMonitor) throws MalformedTreeException, BadLocationException
protected void childDocumentUpdated()
TextEditTextEdit.apply(IDocument) or
TextEdit.apply(IDocument, int) this method is called
TextEdit.getChildrenSize() times.
May be overridden by subclasses of MultiTextEdit.
childDocumentUpdated in class TextEditprotected void childRegionUpdated()
TextEditTextEdit.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 TextEditGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.