|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.text.edits.TextEditGroup
A text edit group combines a list of TextEdits and a name into a single object. The name must be a human readable string use to present the text edit group in the user interface.
Constructor Summary | |
TextEditGroup(String name)
Creates a new text edit group with the given name. | |
TextEditGroup(String name,
TextEdit edit)
Creates a new text edit group with a name and a single TextEdit. | |
TextEditGroup(String name,
TextEdit[] edits)
Creates a new text edit group with the given name and array of edits. |
Method Summary | |
void | addTextEdit(TextEdit edit)
Adds the given TextEdit to this group. |
String | getName()
Returns the edit group's name. |
IRegion | getRegion()
Returns the text region covered by the edits managed via this edit group. |
TextEdit[] | getTextEdits()
Returns an array of TextEdits containing the edits managed by this group. |
boolean | isEmpty()
Returns true if the list of managed TextEdits is empty; otherwise false is returned. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TextEditGroup(String name)
public TextEditGroup(String name, TextEdit edit)
public TextEditGroup(String name, TextEdit[] edits)
Method Detail |
public String getName()
public void addTextEdit(TextEdit edit)
public boolean isEmpty()
public TextEdit[] getTextEdits()
public IRegion getRegion()
|
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.