Package com._1c.g5.v8.dt.search.ui
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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getSearchForText(SearchFor searchFor)
Returns the text presentation for the specifedSearchFor
.static org.eclipse.swt.graphics.Image
getSearchLocationScopeImage(org.eclipse.core.resources.IProject project)
Obtains the image for the given project.static org.eclipse.swt.graphics.Image
getSearchTypeScopeImage(SearchScope searchScope)
Obtains the image for the given search scope.static String
getSearchTypeScopeText(SearchScope searchScope)
Returns the text presentation for the given search scope.
-
-
-
Method Detail
-
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.
-
-