Searched refs:newEditor (Results 1 – 6 of 6) sorted by relevance
240 IEditorPart newEditor = AdtUtils.getActiveEditor(); in checkXmlNavigation() local243 assertTrue(!(newEditor instanceof ErrorEditorPart)); in checkXmlNavigation()248 if (newEditor instanceof AndroidXmlEditor) { in checkXmlNavigation()249 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) newEditor; in checkXmlNavigation()252 } else if (newEditor instanceof XMLMultiPageEditorPart) { in checkXmlNavigation()253 XMLMultiPageEditorPart xmlEditor = (XMLMultiPageEditorPart) newEditor; in checkXmlNavigation()256 StructuredTextEditor ste = (StructuredTextEditor) field.get(newEditor); in checkXmlNavigation()259 ste = (StructuredTextEditor) method.invoke(newEditor, new Object[0]); in checkXmlNavigation()264 } else if (newEditor instanceof WebBrowserEditor) { in checkXmlNavigation()265 WebBrowserEditor browser = (WebBrowserEditor) newEditor; in checkXmlNavigation()[all …]
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()
184 IEditorPart newEditor = AdtUtils.getActiveEditor(); in getNode() local185 assertTrue(newEditor instanceof AndroidXmlEditor); in getNode()186 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) newEditor; in getNode()
56 public static View newEditor(final NotificationStudioActivity activity, in newEditor() method in Editors
131 View editorView = Editors.newEditor(this, items, item);
334 AndroidXmlEditor newEditor = (AndroidXmlEditor) part; in openFile() local335 newEditor.reformatDocument(); in openFile()