Home
last modified time | relevance | path

Searched refs:mRefactoring (Results 1 – 3 of 3) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRefactoringAssistant.java277 private final Refactoring mRefactoring; field in RefactoringAssistant.RefactoringProposal
282 mRefactoring = refactoring; in RefactoringProposal()
288 if (mRefactoring instanceof VisualRefactoring) { in apply()
289 wizard = ((VisualRefactoring) mRefactoring).createWizard(); in apply()
290 } else if (mRefactoring instanceof ExtractStringRefactoring) { in apply()
291 wizard = new ExtractStringWizard((ExtractStringRefactoring) mRefactoring, in apply()
293 } else if (mRefactoring instanceof RenameRefactoring) { in apply()
294 RenameRefactoring refactoring = (RenameRefactoring) mRefactoring; in apply()
298 wizard = new RenameResourceWizard((RenameRefactoring) mRefactoring, type, false); in apply()
313 return String.format("Initiates the \"%1$s\" refactoring", mRefactoring.getName()); in getAdditionalProposalInfo()
[all …]
DGridLayoutConverter.java114 private final ChangeLayoutRefactoring mRefactoring; field in GridLayoutConverter
124 mRefactoring = refactoring; in GridLayoutConverter()
150 mNamespace = mRefactoring.getAndroidNamespacePrefix(); in convertToGridLayout()
163 mRefactoring.setAttribute(mRootEdit, mLayout, ANDROID_URI, in convertToGridLayout()
230 IFile file = mRefactoring.getFile(); in insertStretchableSpans()
270 ViewElementDescriptor descriptor = mRefactoring.getElementDescriptor(FQCN_GRID_LAYOUT); in removeUndefinedAttrs()
284 List<Attr> attributes = mRefactoring.findLayoutAttributes(child); in removeUndefinedAttrs()
290 mRefactoring.removeAttribute(mRootEdit, child, attribute.getNamespaceURI(), in removeUndefinedAttrs()
312 mRefactoring.removeElementTags(mRootEdit, element, delete, in deleteRemovedElements()
323 mRefactoring.setAttribute(mRootEdit, mLayout, ANDROID_URI, in assignGridAttributes()
[all …]
DRelativeLayoutConversionHelper.java108 private final ChangeLayoutRefactoring mRefactoring; field in RelativeLayoutConversionHelper
114 mRefactoring = refactoring; in RelativeLayoutConversionHelper()
221 mRefactoring.removeElementTags(mRootEdit, element, delete, in deleteRemovedElements()
231 String id = mRefactoring.ensureHasId(mRootEdit, view.mElement, null); in initializeIds()
284 String namespace = mRefactoring.getAndroidNamespacePrefix(); in createAttachments()
287 mRefactoring.setAttribute(mRootEdit, view.mElement, ANDROID_URI, in createAttachments()
291 mRefactoring.setAttribute(mRootEdit, view.mElement, ANDROID_URI, in createAttachments()
487 String nextId = mRefactoring.ensureHasId(mRootEdit, nextChild, null); in analyzeLinearLayout()
533 prevId = mRefactoring.ensureHasId(mRootEdit, child, null); in analyzeLinearLayout()
661 mRefactoring.setAttribute(mRootEdit, child, ANDROID_URI, in convert0dipToWrapContent()
[all …]