Package com._1c.g5.v8.dt.search.ui
Class SearchLabels
java.lang.Object
com._1c.g5.v8.dt.search.ui.SearchLabels
Convenience class for obtaining text and image presentation for particular
elements.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetSearchForText(SearchFor searchFor) Returns the text presentation for the specifedSearchFor.static org.eclipse.swt.graphics.ImagegetSearchLocationScopeImage(org.eclipse.core.resources.IProject project) Obtains the image for the given project.static org.eclipse.swt.graphics.ImagegetSearchTypeScopeImage(SearchScope searchScope) Obtains the image for the given search scope.static StringgetSearchTypeScopeText(SearchScope searchScope) Returns the text presentation for the given search scope.
-
Method Details
-
getSearchTypeScopeImage
Obtains the image for the given search scope.- Parameters:
searchScope- the search scope.- Returns:
- the image.
-
getSearchTypeScopeText
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
Returns the text presentation for the specifedSearchFor.- Parameters:
SearchFor- the search for instance, cannot benull- Returns:
- the text presentation, naver
null
-