/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
D | AndroidTypeMoveParticipant.java | 58 import org.eclipse.text.edits.MultiTextEdit; 59 import org.eclipse.text.edits.ReplaceEdit; 60 import org.eclipse.text.edits.TextEdit; 238 List<TextEdit> edits = new ArrayList<TextEdit>(); in addXmlFileChanges() local 240 addManifestReplacements(edits, root, document); in addXmlFileChanges() 242 addLayoutReplacements(edits, root, document); in addXmlFileChanges() 244 if (!edits.isEmpty()) { in addXmlFileChanges() 246 rootEdit.addChildren(edits.toArray(new TextEdit[edits.size()])); in addXmlFileChanges() 273 @NonNull List<TextEdit> edits, in addLayoutReplacements() 281 edits.add(new ReplaceEdit(start, end - start, mNewFqcn)); in addLayoutReplacements() [all …]
|
D | AndroidTypeRenameParticipant.java | 70 import org.eclipse.text.edits.MultiTextEdit; 71 import org.eclipse.text.edits.ReplaceEdit; 72 import org.eclipse.text.edits.TextEdit; 375 List<TextEdit> edits = new ArrayList<TextEdit>(); in addXmlFileChanges() local 378 addManifestReplacements(edits, root, document); in addXmlFileChanges() 380 addValueReplacements(edits, root, document); in addXmlFileChanges() 383 addLayoutReplacements(edits, root, document); in addXmlFileChanges() 385 if (!edits.isEmpty()) { in addXmlFileChanges() 387 rootEdit.addChildren(edits.toArray(new TextEdit[edits.size()])); in addXmlFileChanges() 414 @NonNull List<TextEdit> edits, in addLayoutReplacements() [all …]
|
D | AndroidPackageRenameParticipant.java | 69 import org.eclipse.text.edits.MultiTextEdit; 70 import org.eclipse.text.edits.ReplaceEdit; 71 import org.eclipse.text.edits.TextEdit; 398 List<TextEdit> edits = new ArrayList<TextEdit>(); 400 addManifestReplacements(edits, root, document); 402 addLayoutReplacements(edits, root, document); 404 if (!edits.isEmpty()) { 406 rootEdit.addChildren(edits.toArray(new TextEdit[edits.size()])); 439 @NonNull List<TextEdit> edits, 447 edits.add(new ReplaceEdit(start, end - start, getNewClassName(tag))); [all …]
|
D | RenameResourceParticipant.java | 71 import org.eclipse.text.edits.MultiTextEdit; 72 import org.eclipse.text.edits.ReplaceEdit; 73 import org.eclipse.text.edits.TextEdit; 510 List<TextEdit> edits = new ArrayList<TextEdit>(); in addResourceXmlChanges() local 511 addReplacements(edits, root, document, folderType); in addResourceXmlChanges() 512 if (!edits.isEmpty()) { in addResourceXmlChanges() 514 rootEdit.addChildren(edits.toArray(new TextEdit[edits.size()])); in addResourceXmlChanges() 541 @NonNull List<TextEdit> edits, in addReplacements() 561 edits.add(new ReplaceEdit(start, end - start, mNewName)); in addReplacements() 580 edits.add(new ReplaceEdit(start, end - start, mXmlNewValue1)); in addReplacements() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | RefactoringTest.java | 37 import org.eclipse.text.edits.MultiTextEdit; 38 import org.eclipse.text.edits.TextEdit; 123 MultiTextEdit edits = (MultiTextEdit) edit; in checkEdits() local 124 edits.apply(document); in checkEdits() 171 MultiTextEdit edits = (MultiTextEdit) edit; in checkEdits() local 172 edits.apply(document); in checkEdits()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
D | TypographyFix.java | 68 List<TypographyDetector.ReplaceEdit> edits = in apply() local 70 for (TypographyDetector.ReplaceEdit edit : edits) { in apply()
|
D | AddSuppressAnnotation.java | 63 import org.eclipse.text.edits.MultiTextEdit; 64 import org.eclipse.text.edits.TextEdit;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
D | EnabledTextEditGroup.java | 19 import org.eclipse.text.edits.TextEditGroup;
|
D | ExtractStringRefactoring.java | 74 import org.eclipse.text.edits.InsertEdit; 75 import org.eclipse.text.edits.MultiTextEdit; 76 import org.eclipse.text.edits.ReplaceEdit; 77 import org.eclipse.text.edits.TextEdit; 78 import org.eclipse.text.edits.TextEditGroup;
|
D | ReplaceStringsVisitor.java | 42 import org.eclipse.text.edits.TextEditGroup;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/formatting/ |
D | AndroidXmlFormattingStrategyTest.java | 22 import org.eclipse.text.edits.MalformedTreeException; 23 import org.eclipse.text.edits.ReplaceEdit;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | ChangeViewRefactoring.java | 43 import org.eclipse.text.edits.MultiTextEdit; 44 import org.eclipse.text.edits.ReplaceEdit; 45 import org.eclipse.text.edits.TextEdit;
|
D | WrapInRefactoring.java | 47 import org.eclipse.text.edits.DeleteEdit; 48 import org.eclipse.text.edits.InsertEdit; 49 import org.eclipse.text.edits.MultiTextEdit; 50 import org.eclipse.text.edits.TextEdit;
|
D | VisualRefactoring.java | 70 import org.eclipse.text.edits.DeleteEdit; 71 import org.eclipse.text.edits.InsertEdit; 72 import org.eclipse.text.edits.MalformedTreeException; 73 import org.eclipse.text.edits.MultiTextEdit; 74 import org.eclipse.text.edits.ReplaceEdit; 75 import org.eclipse.text.edits.TextEdit; 367 List<TextEdit> edits = new ArrayList<TextEdit>(); in replaceIds() local 397 edits.add(new ReplaceEdit(start, end - start, referenceId)); in replaceIds() 403 return edits; in replaceIds()
|
D | UseCompoundDrawableRefactoring.java | 64 import org.eclipse.text.edits.MultiTextEdit; 65 import org.eclipse.text.edits.ReplaceEdit; 66 import org.eclipse.text.edits.TextEdit;
|
D | ExtractIncludeRefactoring.java | 71 import org.eclipse.text.edits.InsertEdit; 72 import org.eclipse.text.edits.MultiTextEdit; 73 import org.eclipse.text.edits.ReplaceEdit; 74 import org.eclipse.text.edits.TextEdit;
|
D | ChangeLayoutRefactoring.java | 66 import org.eclipse.text.edits.MalformedTreeException; 67 import org.eclipse.text.edits.MultiTextEdit; 68 import org.eclipse.text.edits.ReplaceEdit; 69 import org.eclipse.text.edits.TextEdit;
|
D | UnwrapRefactoring.java | 39 import org.eclipse.text.edits.MultiTextEdit;
|
D | GridLayoutConverter.java | 72 import org.eclipse.text.edits.InsertEdit; 73 import org.eclipse.text.edits.MalformedTreeException; 74 import org.eclipse.text.edits.MultiTextEdit;
|
D | ExtractStyleRefactoring.java | 67 import org.eclipse.text.edits.InsertEdit; 68 import org.eclipse.text.edits.MultiTextEdit;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/renamepackage/ |
D | ApplicationPackageNameRefactoring.java | 57 import org.eclipse.text.edits.MalformedTreeException; 58 import org.eclipse.text.edits.MultiTextEdit; 59 import org.eclipse.text.edits.ReplaceEdit; 60 import org.eclipse.text.edits.TextEdit; 61 import org.eclipse.text.edits.TextEditGroup;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/ |
D | AndroidXmlFormattingStrategy.java | 54 import org.eclipse.text.edits.MultiTextEdit; 55 import org.eclipse.text.edits.ReplaceEdit; 56 import org.eclipse.text.edits.TextEdit;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | GraphicalEditorPart.java | 152 import org.eclipse.text.edits.MalformedTreeException; 153 import org.eclipse.text.edits.MultiTextEdit; 154 import org.eclipse.text.edits.ReplaceEdit; 2487 MultiTextEdit edits = new MultiTextEdit(); in onClick() local 2502 edits.addChild(new ReplaceEdit(index, find.length(), replaceWith)); in onClick() 2514 edits.addChild(new ReplaceEdit(index, find.length(), replaceWith)); in onClick() 2528 edits.addChild(new ReplaceEdit(index, find.length(), replaceWith)); in onClick() 2532 edits.apply(document); in onClick()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
D | TemplateHandler.java | 80 import org.eclipse.text.edits.InsertEdit; 81 import org.eclipse.text.edits.MultiTextEdit; 82 import org.eclipse.text.edits.ReplaceEdit; 83 import org.eclipse.text.edits.TextEdit;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
D | RefactoringTestBase.java | 43 import org.eclipse.text.edits.TextEdit;
|