Home
last modified time | relevance | path

Searched refs:newEditor (Results 1 – 6 of 6) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
DHyperlinksTest.java240 IEditorPart newEditor = AdtUtils.getActiveEditor(); in checkXmlNavigation() local
243 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 …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/build/
DAaptQuickFixTest.java193 AndroidXmlEditor newEditor = (AndroidXmlEditor) currentFile; in checkResourceFix() local
194 ISourceViewer newViewer = newEditor.getStructuredSourceViewer(); in checkResourceFix()
276 IEditorPart newEditor = AdtUtils.getActiveEditor(); in checkNamespaceFix() local
277 assertTrue(newEditor instanceof AndroidXmlEditor); in checkNamespaceFix()
279 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) newEditor; in checkNamespaceFix()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLayoutMetadataTest.java184 IEditorPart newEditor = AdtUtils.getActiveEditor(); in getNode() local
185 assertTrue(newEditor instanceof AndroidXmlEditor); in getNode()
186 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) newEditor; in getNode()
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/
DEditors.java56 public static View newEditor(final NotificationStudioActivity activity, in newEditor() method in Editors
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/
DNotificationStudioActivity.java131 View editorView = Editors.newEditor(this, items, item);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DVisualRefactoring.java334 AndroidXmlEditor newEditor = (AndroidXmlEditor) part; in openFile() local
335 newEditor.reformatDocument(); in openFile()