Interface IOpenEditorsParticipant

    • Method Detail

      • guessFiles

        java.util.List<org.eclipse.core.resources.IFile> guessFiles​(org.eclipse.jface.text.IDocument doc,
                                                                    org.eclipse.jface.viewers.ISelectionProvider selectionProvider,
                                                                    org.eclipse.ui.IEditorInput currentInput,
                                                                    org.eclipse.ui.IWorkbenchPart currentPart)
                                                             throws org.eclipse.core.runtime.OperationCanceledException
        Try to guess multiple files in given context
        Parameters:
        doc - document with possible editor/file reference, might be null
        selectionProvider - selection in the document, might be null or empty
        currentInput - document input, might be null
        currentPart - current part, if any (might be null)
        Returns:
        empty list if no file information was found, otherwise the list of guessed files, never null
        Throws:
        org.eclipse.core.runtime.OperationCanceledException - if user decided to cancel operation