Searched refs:editorInput (Results 1 – 8 of 8) sorted by relevance
104 public void init(IEditorSite site, final IEditorInput editorInput) in init() argument106 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 …]
60 IEditorInput editorInput = editorRef.getEditorInput(); in matches() local61 if (editorInput instanceof FileEditorInput) { in matches()62 FileEditorInput editorFileInput = (FileEditorInput)editorInput; in matches()
332 public void showEditorInput(IEditorInput editorInput) { in showEditorInput() argument333 if (getEditor().getEditorInput().equals(editorInput)) { in showEditorInput()358 getEditor().setInputWithNotify(editorInput); in showEditorInput()759 IEditorInput editorInput = getEditor().getEditorInput(); in delegateGetPartName() local761 && editorInput instanceof IFileEditorInput) { in delegateGetPartName()762 IFileEditorInput fileInput = (IFileEditorInput) editorInput; in delegateGetPartName()851 IEditorInput editorInput = getEditor().getEditorInput(); in createUnknownDescriptor() local852 if (editorInput instanceof IFileEditorInput) { in createUnknownDescriptor()853 IFileEditorInput fileInput = (IFileEditorInput)editorInput; in createUnknownDescriptor()
162 IEditorInput editorInput = editor.getEditorInput(); in getLeafFileName() local163 if (editorInput instanceof FileEditorInput) { in getLeafFileName()164 IFile f = ((FileEditorInput) editorInput).getFile(); in getLeafFileName()186 IEditorInput editorInput = editor.getEditorInput(); in getLastUsedXmlName() local187 if (editorInput instanceof FileEditorInput) { in getLastUsedXmlName()188 IFile f = ((FileEditorInput) editorInput).getFile(); in getLastUsedXmlName()
122 IEditorInput editorInput = textEditor.getEditorInput(); in run() local123 IDocument document = provider.getDocument(editorInput); in run()128 ICompilationUnit compilationUnit = manager.getWorkingCopy(editorInput); in run()314 IEditorInput editorInput = textEditor.getEditorInput(); in createFixes() local315 IDocument document = provider.getDocument(editorInput); in createFixes()321 ICompilationUnit compilationUnit = manager.getWorkingCopy(editorInput); in createFixes()
317 public void init(IEditorSite site, IEditorInput editorInput) throws PartInitException { in init() argument318 if (!(editorInput instanceof IFileEditorInput)) in init()320 super.init(site, editorInput); in init()
735 IEditorInput editorInput = editor.getEditorInput(); in getConfiguration() local736 if (editorInput instanceof FileEditorInput) { in getConfiguration()737 IFile file = ((FileEditorInput) editorInput).getFile(); in getConfiguration()
690 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;