Class SearchLabels

java.lang.Object
com._1c.g5.v8.dt.search.ui.SearchLabels

public final class SearchLabels extends Object
Convenience class for obtaining text and image presentation for particular elements.
  • Method Details

    • getSearchTypeScopeImage

      public static org.eclipse.swt.graphics.Image getSearchTypeScopeImage(SearchScope searchScope)
      Obtains the image for the given search scope.
      Parameters:
      searchScope - the search scope.
      Returns:
      the image.
    • getSearchTypeScopeText

      public static String getSearchTypeScopeText(SearchScope searchScope)
      Returns the text presentation for the given search scope.
      Parameters:
      searchScope - the search scope.
      Returns:
      the text presentation.
    • getSearchLocationScopeImage

      public static org.eclipse.swt.graphics.Image getSearchLocationScopeImage(org.eclipse.core.resources.IProject project)
      Obtains the image for the given project.
      Parameters:
      project - to get picture
      Returns:
      the image.
    • getSearchForText

      public static String getSearchForText(SearchFor searchFor)
      Returns the text presentation for the specifed SearchFor.
      Parameters:
      SearchFor - the search for instance, cannot be null
      Returns:
      the text presentation, naver null