Home
last modified time | relevance | path

Searched refs:xmlEditor (Results 1 – 9 of 9) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRefactoringAssistant.java90 AndroidXmlEditor xmlEditor = AndroidXmlEditor.fromTextViewer(sourceViewer); in computeQuickAssistProposals() local
91 if (xmlEditor == null) { in computeQuickAssistProposals()
95 IFile file = xmlEditor.getInputFile(); in computeQuickAssistProposals()
112 model = xmlEditor.getModelForRead(); in computeQuickAssistProposals()
155 StructuredTextEditor structuredEditor = xmlEditor.getStructuredTextEditor(); in computeQuickAssistProposals()
170 ISourceViewer textViewer = xmlEditor.getStructuredSourceViewer(); in computeQuickAssistProposals()
184 proposals.add(new RefactoringProposal(xmlEditor, in computeQuickAssistProposals()
185 new ExtractStringRefactoring(file, xmlEditor, textSelection))); in computeQuickAssistProposals()
190 proposals.add(new RefactoringProposal(xmlEditor, refactoring)); in computeQuickAssistProposals()
193 LayoutEditorDelegate delegate = LayoutEditorDelegate.fromEditor(xmlEditor); in computeQuickAssistProposals()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
DHyperlinksTest.java256 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) newEditor; in checkXmlNavigation() local
257 document = xmlEditor.getStructuredSourceViewer().getDocument(); in checkXmlNavigation()
258 selection = xmlEditor.getStructuredSourceViewer().getSelectedRange(); in checkXmlNavigation()
260 XMLMultiPageEditorPart xmlEditor = (XMLMultiPageEditorPart) newEditor; in checkXmlNavigation() local
261 Field field = xmlEditor.getClass().getDeclaredField("fTextEditor"); in checkXmlNavigation()
265 Method method = xmlEditor.getClass().getMethod("getTextEditor", new Class[0]); in checkXmlNavigation()
DAndroidContentAssistTest.java897 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) editor; in complete() local
899 UiElementNode root = xmlEditor.getUiRootNode(); in complete()
907 ISourceViewer viewer = xmlEditor.getStructuredSourceViewer(); in complete()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLayoutMetadataTest.java81 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) newEditor; in getNode() local
82 IStructuredDocument document = xmlEditor.getStructuredDocument(); in getNode()
83 UiElementNode root = xmlEditor.getUiRootNode(); in getNode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DSetAttributeFix.java141 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) editor; in getProposal() local
142 return DescriptorsUtils.getFreeWidgetId(xmlEditor.getUiRootNode(), in getProposal()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
DNewXmlFileWizard.java151 final AndroidXmlEditor xmlEditor = (AndroidXmlEditor)editor; in performFinish()
152 if (!xmlEditor.hasMultiplePages()) { in performFinish()
153 xmlEditor.show(region.getOffset(), region.getLength(), in performFinish()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/build/
DAaptQuickFixTest.java279 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) newEditor; in checkNamespaceFix() local
280 IDocument document = xmlEditor.getStructuredSourceViewer().getDocument(); in checkNamespaceFix()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
DXmlPropertyEditor.java364 CommonXmlEditor xmlEditor = xmlProperty.getXmlEditor(); in setEditorText() local
365 if (xmlEditor != null) { in setEditorText()
366 IProject project = xmlEditor.getProject(); in setEditorText()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlEditor.java287 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) editor; in getAdapter() local
288 xmlEditor.setActivePage(AndroidXmlEditor.TEXT_EDITOR_ID); in getAdapter()