Eclipse Platform
Release 3.2

org.eclipse.ltk.core.refactoring
Class CategorizedTextEditGroup

java.lang.Object
  extended byorg.eclipse.text.edits.TextEditGroup
      extended byorg.eclipse.ltk.core.refactoring.CategorizedTextEditGroup

public class CategorizedTextEditGroup
extends TextEditGroup

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

Constructor Summary
CategorizedTextEditGroup(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 single TextEdit and a set of group categories.
 
Method Summary
 GroupCategorySet getGroupCategorySet()
          Returns the set of group categories.
 
Methods inherited from class org.eclipse.text.edits.TextEditGroup
addTextEdit, getName, getRegion, getTextEdits, isEmpty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategorizedTextEditGroup

public CategorizedTextEditGroup(String name,
                                GroupCategorySet groupCategories)
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 string
groupCategories - a set of group categories

CategorizedTextEditGroup

public CategorizedTextEditGroup(String name,
                                TextEdit edit,
                                GroupCategorySet groupCategories)
Creates a new text edit group with a name, a single TextEdit and a set of group categories.

Parameters:
name - the name of the text edit group. Must be a human readable string
edit - the edit to manage
groupCategories - a set of group categories

CategorizedTextEditGroup

public 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.

Parameters:
name - the name of the text edit group. Must be a human readable string
edits - the array of edits
groupCategories - a set of group categories
Method Detail

getGroupCategorySet

public GroupCategorySet getGroupCategorySet()
Returns the set of group categories.

Returns:
the group categories of this text edit group

Eclipse Platform
Release 3.2

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.