Searched refs:xmlEditor (Results 1 – 9 of 9) sorted by relevance
90 AndroidXmlEditor xmlEditor = AndroidXmlEditor.fromTextViewer(sourceViewer); in computeQuickAssistProposals() local91 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 …]
256 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) newEditor; in checkXmlNavigation() local257 document = xmlEditor.getStructuredSourceViewer().getDocument(); in checkXmlNavigation()258 selection = xmlEditor.getStructuredSourceViewer().getSelectedRange(); in checkXmlNavigation()260 XMLMultiPageEditorPart xmlEditor = (XMLMultiPageEditorPart) newEditor; in checkXmlNavigation() local261 Field field = xmlEditor.getClass().getDeclaredField("fTextEditor"); in checkXmlNavigation()265 Method method = xmlEditor.getClass().getMethod("getTextEditor", new Class[0]); in checkXmlNavigation()
897 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) editor; in complete() local899 UiElementNode root = xmlEditor.getUiRootNode(); in complete()907 ISourceViewer viewer = xmlEditor.getStructuredSourceViewer(); in complete()
81 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) newEditor; in getNode() local82 IStructuredDocument document = xmlEditor.getStructuredDocument(); in getNode()83 UiElementNode root = xmlEditor.getUiRootNode(); in getNode()
141 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) editor; in getProposal() local142 return DescriptorsUtils.getFreeWidgetId(xmlEditor.getUiRootNode(), in getProposal()
151 final AndroidXmlEditor xmlEditor = (AndroidXmlEditor)editor; in performFinish()152 if (!xmlEditor.hasMultiplePages()) { in performFinish()153 xmlEditor.show(region.getOffset(), region.getLength(), in performFinish()
279 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) newEditor; in checkNamespaceFix() local280 IDocument document = xmlEditor.getStructuredSourceViewer().getDocument(); in checkNamespaceFix()
364 CommonXmlEditor xmlEditor = xmlProperty.getXmlEditor(); in setEditorText() local365 if (xmlEditor != null) { in setEditorText()366 IProject project = xmlEditor.getProject(); in setEditorText()
287 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) editor; in getAdapter() local288 xmlEditor.setActivePage(AndroidXmlEditor.TEXT_EDITOR_ID); in getAdapter()