|
Eclipse JDT Release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.ltk.core.refactoring.TextEditChangeGroup
This class is a wrapper around a TextEditGroup
adding support for marking a group as active and inactive.
Note: this class is not intended to be extended by clients.
TextEditGroup| Constructor Summary | |
TextEditChangeGroup(TextChange change,
org.eclipse.text.edits.TextEditGroup group)
Creates new TextEditChangeGroup for the given
TextChange and TextEditGroup. |
|
| Method Summary | |
String |
getName()
Returns the groups's name by forwarding the method to the underlying text edit group. |
org.eclipse.jface.text.IRegion |
getRegion()
Returns the region covered by the underlying text edit group. |
TextChange |
getTextChange()
Returns the text change this group belongs to. |
org.eclipse.text.edits.TextEditGroup |
getTextEditGroup()
Returns the underlying text edit group. |
org.eclipse.text.edits.TextEdit[] |
getTextEdits()
Returns the text edits managed by the underlying text edit group. |
boolean |
isEnabled()
Returns whether the group is enabled or not. |
void |
setEnabled(boolean enabled)
Marks the group as enabled or disabled. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TextEditChangeGroup(TextChange change,
org.eclipse.text.edits.TextEditGroup group)
TextEditChangeGroup for the given
TextChange and TextEditGroup.
change - the change owning this text edit change groupgroup - the underlying text edit group| Method Detail |
public String getName()
public void setEnabled(boolean enabled)
enabled - true to mark this group
as enabled, false to mark it as disabledpublic boolean isEnabled()
true if the group is marked as
enabled; false otherwisepublic TextChange getTextChange()
public org.eclipse.text.edits.TextEditGroup getTextEditGroup()
public org.eclipse.jface.text.IRegion getRegion()
public org.eclipse.text.edits.TextEdit[] getTextEdits()
|
Eclipse JDT Release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||