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.java247 IEditorPart newEditor = AdtUtils.getActiveEditor(); in checkXmlNavigation() local
250 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 …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLayoutMetadataTest.java79 IEditorPart newEditor = AdtUtils.getActiveEditor(); in getNode() local
80 assertTrue(newEditor instanceof AndroidXmlEditor); in getNode()
81 AndroidXmlEditor xmlEditor = (AndroidXmlEditor) newEditor; in getNode()
/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/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.java336 AndroidXmlEditor newEditor = (AndroidXmlEditor) part; in openFile() local
337 newEditor.reformatDocument(); in openFile()