Class MultiTextEdittWithDescription
- java.lang.Object
-
- org.eclipse.text.edits.TextEdit
-
- org.eclipse.text.edits.MultiTextEdit
-
- com._1c.g5.v8.dt.lcore.ui.text.edits.MultiTextEdittWithDescription
-
public class MultiTextEdittWithDescription extends org.eclipse.text.edits.MultiTextEdit
SpecialMultiTextEdit
with description for each child element
-
-
Constructor Summary
Constructors Constructor Description MultiTextEdittWithDescription()
ConstructorMultiTextEdittWithDescription(org.eclipse.text.edits.MultiTextEdit edit)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChild(org.eclipse.text.edits.TextEdit edit, String description)
Add new child textEdit with descriptionprotected org.eclipse.text.edits.TextEdit
doCopy()
String
getDescription(org.eclipse.text.edits.TextEdit edit)
Gets description of the child textEdit-
Methods inherited from class org.eclipse.text.edits.MultiTextEdit
accept0, canZeroLengthCover, checkIntegrity, covers, getLength, getOffset
-
Methods inherited from class org.eclipse.text.edits.TextEdit
accept, acceptChildren, addChild, addChildren, apply, apply, childDocumentUpdated, childRegionUpdated, copy, equals, getChildren, getChildrenSize, getCoverage, getExclusiveEnd, getInclusiveEnd, getParent, getRegion, getRoot, hasChildren, hashCode, isDeleted, moveTree, postProcessCopy, removeChild, removeChild, removeChildren, toString
-
-
-
-
Method Detail
-
addChild
public void addChild(org.eclipse.text.edits.TextEdit edit, String description)
Add new child textEdit with description- Parameters:
edit
- new child textEdit, can't benull
description
- description of the textEdit, can benull
-
getDescription
public String getDescription(org.eclipse.text.edits.TextEdit edit)
Gets description of the child textEdit- Parameters:
edit
- child textEdit, can't benull
- Returns:
- description of the child textEdit or empty, if description wasn't found. Can't be
null
-
doCopy
protected org.eclipse.text.edits.TextEdit doCopy()
- Overrides:
doCopy
in classorg.eclipse.text.edits.MultiTextEdit
-
-