Home
last modified time | relevance | path

Searched refs:editorInput (Results 1 – 8 of 8) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/common/
DCommonXmlEditor.java104 public void init(IEditorSite site, final IEditorInput editorInput) in init() argument
106 if (editorInput instanceof IFileEditorInput) { in init()
108 IFileEditorInput fileInput = (IFileEditorInput) editorInput; in init()
144 String folderName = AdtUtils.getParentFolderName(editorInput); in init()
167 } else if (editorInput instanceof IURIEditorInput) { in init()
168 String folderName = AdtUtils.getParentFolderName(editorInput); in init()
189 ((IURIEditorInput) editorInput).getURI().toString(), in init()
200 (editorInput == null ? "null" : editorInput.toString())); //$NON-NLS-1$ in init()
204 super.init(site, editorInput); in init()
398 public void showEditorInput(IEditorInput editorInput) { in showEditorInput() argument
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DLayoutEditorMatchingStrategy.java60 IEditorInput editorInput = editorRef.getEditorInput(); in matches() local
61 if (editorInput instanceof FileEditorInput) { in matches()
62 FileEditorInput editorFileInput = (FileEditorInput)editorInput; in matches()
DLayoutEditorDelegate.java332 public void showEditorInput(IEditorInput editorInput) { in showEditorInput() argument
333 if (getEditor().getEditorInput().equals(editorInput)) { in showEditorInput()
358 getEditor().setInputWithNotify(editorInput); in showEditorInput()
759 IEditorInput editorInput = getEditor().getEditorInput(); in delegateGetPartName() local
761 && editorInput instanceof IFileEditorInput) { in delegateGetPartName()
762 IFileEditorInput fileInput = (IFileEditorInput) editorInput; in delegateGetPartName()
851 IEditorInput editorInput = getEditor().getEditorInput(); in createUnknownDescriptor() local
852 if (editorInput instanceof IFileEditorInput) { in createUnknownDescriptor()
853 IFileEditorInput fileInput = (IFileEditorInput)editorInput; in createUnknownDescriptor()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DNewItemSelectionDialog.java162 IEditorInput editorInput = editor.getEditorInput(); in getLeafFileName() local
163 if (editorInput instanceof FileEditorInput) { in getLeafFileName()
164 IFile f = ((FileEditorInput) editorInput).getFile(); in getLeafFileName()
186 IEditorInput editorInput = editor.getEditorInput(); in getLastUsedXmlName() local
187 if (editorInput instanceof FileEditorInput) { in getLastUsedXmlName()
188 IFile f = ((FileEditorInput) editorInput).getFile(); in getLastUsedXmlName()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DAddSuppressAnnotation.java122 IEditorInput editorInput = textEditor.getEditorInput(); in run() local
123 IDocument document = provider.getDocument(editorInput); in run()
128 ICompilationUnit compilationUnit = manager.getWorkingCopy(editorInput); in run()
314 IEditorInput editorInput = textEditor.getEditorInput(); in createFixes() local
315 IDocument document = provider.getDocument(editorInput); in createFixes()
321 ICompilationUnit compilationUnit = manager.getWorkingCopy(editorInput); in createFixes()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidTextEditor.java317 public void init(IEditorSite site, IEditorInput editorInput) throws PartInitException { in init() argument
318 if (!(editorInput instanceof IFileEditorInput)) in init()
320 super.init(site, editorInput); in init()
DHyperlinks.java735 IEditorInput editorInput = editor.getEditorInput(); in getConfiguration() local
736 if (editorInput instanceof FileEditorInput) { in getConfiguration()
737 IFile file = ((FileEditorInput) editorInput).getFile(); in getConfiguration()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAdtUtils.java690 public static String getParentFolderName(@Nullable IEditorInput editorInput) {
691 if (editorInput instanceof IFileEditorInput) {
692 IFile file = ((IFileEditorInput) editorInput).getFile();
696 if (editorInput instanceof IURIEditorInput) {
697 IURIEditorInput urlEditorInput = (IURIEditorInput) editorInput;