Interface FullTextSearchRefactoringParticipant.IFullTextSearchRefactoringSupplier

    • Method Detail

      • createChanges

        Collection<org.eclipse.ltk.core.refactoring.Change> createChanges​(org.eclipse.core.resources.IFile file,
                                                                          org.eclipse.ltk.core.refactoring.Change normalRefactoringChange,
                                                                          Collection<IDtMatchProvider> matches,
                                                                          String oldName,
                                                                          String newName)
        Creates Changes for concrete IFile in project and collection of DtMatch corresponding to the file
        Parameters:
        file - concrete IFile in project containing search results, cannot be null
        normalRefactoringChange - refactoring change, if we found correct full text search match in file with normal refactoring changes, we should add full text search changes to exiting change, cannot be null
        matches - collection of DtMatch corresponding to the file, cannot be null
        oldName - original name, cannot be null
        newName - new name of the renaming element, cannot be null
        Returns:
        created Changes for concrete IFile in project and collection of DtMatch corresponding to the file
      • createChanges

        Collection<org.eclipse.ltk.core.refactoring.Change> createChanges​(IBmObject bmObject,
                                                                          org.eclipse.ltk.core.refactoring.Change normalRefactoringChange,
                                                                          Collection<IDtMatchProvider> matches,
                                                                          String oldName,
                                                                          String newName)
        Creates Changes for concrete IBmObject if there is no IFile for it and collection of DtMatch corresponding to the this object
        Parameters:
        bmObject - concrete IBmObject containing search results, cannot be null
        normalRefactoringChange - refactoring change, if we found correct full text search match in file with normal refactoring changes, we should add full text search changes to exiting change, cannot be null
        matches - collection of DtMatch corresponding to the file, cannot be null
        oldName - original name, cannot be null
        newName - new name of the renaming element, cannot be null
        Returns:
        created Changes for concrete IBmObject in project and collection of DtMatch corresponding to the object
      • getSearchType

        SearchType getSearchType()
        The target search type for the FTS search
        Returns:
        The index type. May not be nulla