1 11 package org.eclipse.ltk.core.refactoring; 12 13 import org.eclipse.text.edits.TextEdit; 14 import org.eclipse.text.edits.TextEditGroup; 15 16 import org.eclipse.core.runtime.Assert; 17 18 27 public class CategorizedTextEditGroup extends TextEditGroup { 28 29 private GroupCategorySet fGroupCategories; 30 31 39 public CategorizedTextEditGroup(String name, GroupCategorySet groupCategories) { 40 super(name); 41 Assert.isNotNull(groupCategories); 42 fGroupCategories= groupCategories; 43 } 44 45 54 public CategorizedTextEditGroup(String name, TextEdit edit, GroupCategorySet groupCategories) { 55 super(name, edit); 56 Assert.isNotNull(groupCategories); 57 fGroupCategories= groupCategories; 58 } 59 60 69 public CategorizedTextEditGroup(String name, TextEdit[] edits, GroupCategorySet groupCategories) { 70 super(name, edits); 71 Assert.isNotNull(groupCategories); 72 fGroupCategories= groupCategories; 73 } 74 75 80 public GroupCategorySet getGroupCategorySet() { 81 return fGroupCategories; 82 } 83 } 84 | Popular Tags |