Class ConfigurationSearchResult

  • All Implemented Interfaces:
    ISearchResultCollector, org.eclipse.search.ui.ISearchResult, org.eclipse.search.ui.text.IEditorMatchAdapter

    public class ConfigurationSearchResult
    extends OptimizedTextSearchResult
    implements ISearchResultCollector, org.eclipse.search.ui.text.IEditorMatchAdapter
    Search result for the Configuration search. Configuration search result contains DtMatches for all occurrences in Configuration objects and text Matches for all text occurrences in text documents (BSL modules for example).
    • Constructor Detail

      • ConfigurationSearchResult

        public ConfigurationSearchResult​(com._1c.g5.v8.dt.internal.search.ui.page.DtSearchQuery searchQuery,
                                         IResourceLookup resourceLookup)
        Constructor of {@ ConfigurationSearchResult}.
        Parameters:
        searchQuery - the search querty to create result for, cannot be null
        resourceLookup - the resource lookup, cannot be null
    • Method Detail

      • getLabel

        public String getLabel()
        Specified by:
        getLabel in interface org.eclipse.search.ui.ISearchResult
      • getTooltip

        public String getTooltip()
        Specified by:
        getTooltip in interface org.eclipse.search.ui.ISearchResult
      • getImageDescriptor

        public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
        Specified by:
        getImageDescriptor in interface org.eclipse.search.ui.ISearchResult
      • getQuery

        public org.eclipse.search.ui.ISearchQuery getQuery()
        Specified by:
        getQuery in interface org.eclipse.search.ui.ISearchResult
      • getEditorMatchAdapter

        public org.eclipse.search.ui.text.IEditorMatchAdapter getEditorMatchAdapter()
        Specified by:
        getEditorMatchAdapter in class org.eclipse.search.ui.text.AbstractTextSearchResult
      • getFileMatchAdapter

        public org.eclipse.search.ui.text.IFileMatchAdapter getFileMatchAdapter()
        Specified by:
        getFileMatchAdapter in class org.eclipse.search.ui.text.AbstractTextSearchResult
      • isShownInEditor

        public boolean isShownInEditor​(org.eclipse.search.ui.text.Match match,
                                       org.eclipse.ui.IEditorPart editor)
        Specified by:
        isShownInEditor in interface org.eclipse.search.ui.text.IEditorMatchAdapter
      • computeContainedMatches

        public org.eclipse.search.ui.text.Match[] computeContainedMatches​(org.eclipse.search.ui.text.AbstractTextSearchResult result,
                                                                          org.eclipse.ui.IEditorPart editor)
        Specified by:
        computeContainedMatches in interface org.eclipse.search.ui.text.IEditorMatchAdapter
      • setProgressMonitor

        public void setProgressMonitor​(org.eclipse.core.runtime.IProgressMonitor monitor)
        Sets progress monitor to report progress.
        Parameters:
        monitor - progress monitor to report progress. Can be null