Searched defs:rootEdit (Results 1 - 5 of 5) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
H A DChangeLayoutRefactoring.java231 MultiTextEdit rootEdit = new MultiTextEdit();
243 rootEdit.addChild(new ReplaceEdit(mSelectionStart + open, oldLength, name));
245 rootEdit.addChild(new ReplaceEdit(mSelectionStart + close, oldLength, name));
250 String newId = ensureIdMatchesType(layout, mTypeFqcn, rootEdit);
261 rootEdit.addChild(edit);
278 convertLinearToRelative(rootEdit);
279 removeUndefinedAttrs(rootEdit, layout);
280 addMissingWrapContentAttributes(rootEdit, layout, oldType, newType, null);
283 convertAnyToRelative(rootEdit, oldType, newType);
285 //removeUndefinedLayoutAttrs(rootEdit, layou
334 addMissingWrapContentAttributes(MultiTextEdit rootEdit, Element layout, String oldType, String newType, Set<Element> skip) argument
357 convertLinearToTable(MultiTextEdit rootEdit) argument
396 convertLinearToRelative(MultiTextEdit rootEdit) argument
452 removeOrientationAttribute(MultiTextEdit rootEdit, Element layout) argument
462 convertRelativeToLinear(MultiTextEdit rootEdit) argument
495 convertGeneric(MultiTextEdit rootEdit, String oldType, String newType, Element layout) argument
511 removeUndefinedAttrs(MultiTextEdit rootEdit, Element layout) argument
515 removeUndefinedAttrs(MultiTextEdit rootEdit, Element layout, boolean removeLayoutAttrs) argument
582 convertAnyToRelative(MultiTextEdit rootEdit, String oldType, String newType) argument
604 convertAnyToGridLayout(MultiTextEdit rootEdit) argument
[all...]
H A DChangeViewRefactoring.java165 MultiTextEdit rootEdit = new MultiTextEdit();
166 change.setEdit(rootEdit);
182 rootEdit.addChild(new ReplaceEdit(region.getStartOffset() + open,
187 rootEdit.addChild(new ReplaceEdit(region.getStartOffset() + close, oldLength,
193 String newId = ensureIdMatchesType(element, mTypeFqcn, rootEdit);
207 rootEdit.addChild(edit);
216 removeUndefinedAttrs(rootEdit, element);
223 private void removeUndefinedAttrs(MultiTextEdit rootEdit, Element element) { argument
240 removeAttribute(rootEdit, element, attribute.getNamespaceURI(), name);
246 setAttribute(rootEdit, elemen
[all...]
H A DGridLayoutConverter.java123 Element layout, boolean flatten, MultiTextEdit rootEdit, CanvasViewInfo rootView) {
127 mRootEdit = rootEdit;
122 GridLayoutConverter(ChangeLayoutRefactoring refactoring, Element layout, boolean flatten, MultiTextEdit rootEdit, CanvasViewInfo rootView) argument
H A DRelativeLayoutConversionHelper.java115 Element layout, boolean flatten, MultiTextEdit rootEdit, CanvasViewInfo rootView) {
119 mRootEdit = rootEdit;
114 RelativeLayoutConversionHelper(ChangeLayoutRefactoring refactoring, Element layout, boolean flatten, MultiTextEdit rootEdit, CanvasViewInfo rootView) argument
H A DVisualRefactoring.java852 protected String ensureIdMatchesType(Element element, String newType, MultiTextEdit rootEdit) { argument
862 return ensureHasId(rootEdit, element, newTypeBase);
882 protected String ensureHasId(MultiTextEdit rootEdit, Element element, String prefix) { argument
883 return ensureHasId(rootEdit, element, prefix, true);
886 protected String ensureHasId(MultiTextEdit rootEdit, Element element, String prefix, argument
901 setAttribute(rootEdit, element,
961 protected void setAttribute(MultiTextEdit rootEdit, Element element, argument
967 replaceAttributeDeclaration(rootEdit, offset, element, attributePrefix,
970 addAttributeDeclaration(rootEdit, offset, attributePrefix, attributeName,
976 private void addAttributeDeclaration(MultiTextEdit rootEdit, in argument
992 replaceAttributeDeclaration(MultiTextEdit rootEdit, int offset, Element element, String attributePrefix, String attributeUri, String attributeName, String attributeValue) argument
1045 removeAttribute(MultiTextEdit rootEdit, Element element, String uri, String attributeName) argument
1054 removeAttribute(MultiTextEdit rootEdit, Attr attribute) argument
1076 removeElementTags(MultiTextEdit rootEdit, Element element, List<Element> skip, boolean changeIndentation) argument
1146 removeIndentation(MultiTextEdit rootEdit, String removeIndent, IStructuredDocument doc, int startLineInclusive, int endLineInclusive, Element element, List<Element> skip) argument
1177 setIndentation(MultiTextEdit rootEdit, String indent, IStructuredDocument doc, int startLineInclusive, int endLineInclusive, Element element, List<Element> skip) argument
[all...]

Completed in 94 milliseconds