Interface IFullTextSearchSupplier

    • Method Detail

      • getSearchStrings

        Collection<String> getSearchStrings​(org.eclipse.emf.ecore.EObject context,
                                            String oldName)
        Generates strings for full text search by renaming element and its original name
        Parameters:
        context - renaming element, cannot be null
        oldName - original name, cannot be null
        Returns:
        strings for full text search by renaming element and its original name, never null
      • filterSearchResult

        Collection<IDtMatchProvider> filterSearchResult​(org.eclipse.emf.ecore.EObject context,
                                                        String oldName,
                                                        Collection<IDtMatchProvider> results)
        Filters search results
        Parameters:
        context - renaming element, cannot be null
        oldName - original name, cannot be null
        results - full text search results for filtering, cannot be null
        Returns:
        filtered search result, never null
      • isObjectTextAttribute

        boolean isObjectTextAttribute​(IBmObject bmObject)
        Checks that refactoring for this object does not link with IFile corresponding to the bmObject
        Parameters:
        bmObject - object which has attribute changing in refactoring, cannot be null
        Returns:
        true if refactoring for this object does not link with IFile corresponding to the bmObject, false otherwise