Searched refs:newEditor (Results 1 – 6 of 6) sorted by relevance
247 IEditorPart newEditor = AdtUtils.getActiveEditor(); in checkXmlNavigation() local250 assertTrue(!(newEditor instanceof ErrorEditorPart)); in checkXmlNavigation()255 if (newEditor instanceof AndroidXmlEditor) { in checkXmlNavigation()256 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) newEditor; in checkXmlNavigation()259 } else if (newEditor instanceof XMLMultiPageEditorPart) { in checkXmlNavigation()260 XMLMultiPageEditorPart xmlEditor = (XMLMultiPageEditorPart) newEditor; in checkXmlNavigation()263 StructuredTextEditor ste = (StructuredTextEditor) field.get(newEditor); in checkXmlNavigation()266 ste = (StructuredTextEditor) method.invoke(newEditor, new Object[0]); in checkXmlNavigation()271 } else if (newEditor instanceof WebBrowserEditor) { in checkXmlNavigation()272 WebBrowserEditor browser = (WebBrowserEditor) newEditor; in checkXmlNavigation()[all …]
79 IEditorPart newEditor = AdtUtils.getActiveEditor(); in getNode() local80 assertTrue(newEditor instanceof AndroidXmlEditor); in getNode()81 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) newEditor; in getNode()
193 AndroidXmlEditor newEditor = (AndroidXmlEditor) currentFile; in checkResourceFix() local194 ISourceViewer newViewer = newEditor.getStructuredSourceViewer(); in checkResourceFix()276 IEditorPart newEditor = AdtUtils.getActiveEditor(); in checkNamespaceFix() local277 assertTrue(newEditor instanceof AndroidXmlEditor); in checkNamespaceFix()279 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) newEditor; in checkNamespaceFix()
56 public static View newEditor(final NotificationStudioActivity activity, in newEditor() method in Editors
131 View editorView = Editors.newEditor(this, items, item);
336 AndroidXmlEditor newEditor = (AndroidXmlEditor) part; in openFile() local337 newEditor.reformatDocument(); in openFile()