Package org.eclipse.ltk.core.refactoring
Class CategorizedTextEditGroup
java.lang.Object
org.eclipse.text.edits.TextEditGroup
org.eclipse.ltk.core.refactoring.CategorizedTextEditGroup
A special text edit group that manages an additional set of
group categories.
Note: this class is not intended to be subclassed
- Since:
- 3.2
- Restriction:
- This class is not intended to be subclassed by clients.
-
Constructor Summary
ConstructorDescriptionCategorizedTextEditGroup
(String name, GroupCategorySet groupCategories) Creates a new text edit group with the given name and group categories.CategorizedTextEditGroup
(String name, TextEdit[] edits, GroupCategorySet groupCategories) Creates a new text edit group with the given name, array of edits and a set of group categories.CategorizedTextEditGroup
(String name, TextEdit edit, GroupCategorySet groupCategories) Creates a new text edit group with a name, a singleTextEdit
and a set of group categories. -
Method Summary
Modifier and TypeMethodDescriptionReturns the set of group categories.Methods inherited from class org.eclipse.text.edits.TextEditGroup
addTextEdit, clearTextEdits, getName, getRegion, getTextEdits, isEmpty, removeTextEdit
-
Constructor Details
-
CategorizedTextEditGroup
Creates a new text edit group with the given name and group categories.- Parameters:
name
- the name of the text edit group. Must be a human readable stringgroupCategories
- a set of group categories
-
CategorizedTextEditGroup
Creates a new text edit group with a name, a singleTextEdit
and a set of group categories.- Parameters:
name
- the name of the text edit group. Must be a human readable stringedit
- the edit to managegroupCategories
- a set of group categories
-
CategorizedTextEditGroup
Creates a new text edit group with the given name, array of edits and a set of group categories.- Parameters:
name
- the name of the text edit group. Must be a human readable stringedits
- the array of editsgroupCategories
- a set of group categories
-
-
Method Details
-
getGroupCategorySet
Returns the set of group categories.- Returns:
- the group categories of this text edit group
-