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.java113 Element layout, boolean flatten, MultiTextEdit rootEdit, CanvasViewInfo rootView) {
117 mRootEdit = rootEdit;
112 RelativeLayoutConversionHelper(ChangeLayoutRefactoring refactoring, Element layout, boolean flatten, MultiTextEdit rootEdit, CanvasViewInfo rootView) argument
H A DVisualRefactoring.java854 protected String ensureIdMatchesType(Element element, String newType, MultiTextEdit rootEdit) { argument
864 return ensureHasId(rootEdit, element, newTypeBase);
884 protected String ensureHasId(MultiTextEdit rootEdit, Element element, String prefix) { argument
885 return ensureHasId(rootEdit, element, prefix, true);
888 protected String ensureHasId(MultiTextEdit rootEdit, Element element, String prefix, argument
903 setAttribute(rootEdit, element,
963 protected void setAttribute(MultiTextEdit rootEdit, Element element, argument
969 replaceAttributeDeclaration(rootEdit, offset, element, attributePrefix,
972 addAttributeDeclaration(rootEdit, offset, attributePrefix, attributeName,
978 private void addAttributeDeclaration(MultiTextEdit rootEdit, in argument
994 replaceAttributeDeclaration(MultiTextEdit rootEdit, int offset, Element element, String attributePrefix, String attributeUri, String attributeName, String attributeValue) argument
1047 removeAttribute(MultiTextEdit rootEdit, Element element, String uri, String attributeName) argument
1056 removeAttribute(MultiTextEdit rootEdit, Attr attribute) argument
1078 removeElementTags(MultiTextEdit rootEdit, Element element, List<Element> skip, boolean changeIndentation) argument
1148 removeIndentation(MultiTextEdit rootEdit, String removeIndent, IStructuredDocument doc, int startLineInclusive, int endLineInclusive, Element element, List<Element> skip) argument
1179 setIndentation(MultiTextEdit rootEdit, String indent, IStructuredDocument doc, int startLineInclusive, int endLineInclusive, Element element, List<Element> skip) argument
[all...]

Completed in 776 milliseconds