NewSearchUI
instead.public final class SearchUI extends Object
ISearchResultView
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_SET_ID
Deprecated.
Use
NewSearchUI.ACTION_SET_ID instead. |
static String |
LINE
Deprecated.
Line marker attribute (value
"line" )
The value of the marker attribute is the line which contains the text search match. |
static String |
PLUGIN_ID
Deprecated.
Use
NewSearchUI.PLUGIN_ID instead. |
static String |
POTENTIAL_MATCH
Deprecated.
Potential match marker attribute
(value
"potentialMatch" ). |
static String |
SEARCH_MARKER
Deprecated.
Use
NewSearchUI.SEARCH_MARKER instead. |
static String |
SEARCH_RESULT_VIEW_ID
Deprecated.
Id of the Search result view
(value
"org.eclipse.search.SearchResultView" ). |
static String |
SEARCH_VIEW_ID
Deprecated.
Use
NewSearchUI.SEARCH_VIEW_ID instead. |
Modifier and Type | Method and Description |
---|---|
static boolean |
activateSearchResultView()
Deprecated.
Use
NewSearchUI.activateSearchResultView() instead. |
static boolean |
arePotentialMatchesIgnored()
Deprecated.
Use
NewSearchUI.arePotentialMatchesIgnored() instead. |
static String |
getDefaultPerspectiveId()
Deprecated.
Use
NewSearchUI.getDefaultPerspectiveId() instead. |
static Image |
getSearchMarkerImage()
Deprecated.
Returns the shared search marker image.
|
static ISearchResultView |
getSearchResultView()
Deprecated.
Use
NewSearchUI.getSearchResultView() instead. |
static void |
openSearchDialog(IWorkbenchWindow window,
String pageId)
Deprecated.
|
static boolean |
reuseEditor()
Deprecated.
Use
NewSearchUI.reuseEditor() instead. |
public static final String PLUGIN_ID
NewSearchUI.PLUGIN_ID
instead."org.eclipse.search"
).public static final String SEARCH_MARKER
NewSearchUI.SEARCH_MARKER
instead."org.eclipse.search.searchmarker"
).IMarker
,
Constant Field Valuespublic static final String LINE
"line"
)
The value of the marker attribute is the line which contains the text search match.public static final String POTENTIAL_MATCH
"potentialMatch"
).
This optional marker attribute tells whether a marker is a potential or an exact match. The marker is considered an exact match if the attribute is missing.
Potential matches are shown with a different background color in the Search view. The color can be changed in the Search preferences.
IMarker.getAttribute(java.lang.String)
,
Constant Field Valuespublic static final String SEARCH_RESULT_VIEW_ID
"org.eclipse.search.SearchResultView"
).public static final String SEARCH_VIEW_ID
NewSearchUI.SEARCH_VIEW_ID
instead."org.eclipse.search.ui.views.SearchView"
).public static final String ACTION_SET_ID
NewSearchUI.ACTION_SET_ID
instead."org.eclipse.search.searchActionSet"
).public static boolean activateSearchResultView()
NewSearchUI.activateSearchResultView()
instead.true
if the search result view is already activated.true
if the search result view could be activatedpublic static void openSearchDialog(IWorkbenchWindow window, String pageId)
NewSearchUI.openSearchDialog(IWorkbenchWindow, String)
instead.pageId
is specified and a corresponding page
is found then it is brought to top.window
- the given windowpageId
- the page to select or null
if the best fitting page should be selectedpublic static ISearchResultView getSearchResultView()
NewSearchUI.getSearchResultView()
instead.null
if there is no active search result viewpublic static Image getSearchMarkerImage()
public static boolean reuseEditor()
NewSearchUI.reuseEditor()
instead.true
if editors should be reused for showing search resultspublic static boolean arePotentialMatchesIgnored()
NewSearchUI.arePotentialMatchesIgnored()
instead.
Search engines which can report inexact matches must
respect this preference i.e. they should not report
inexact matches if this method returns true
true
if search engine must not report inexact matchespublic static String getDefaultPerspectiveId()
NewSearchUI.getDefaultPerspectiveId()
instead.The perspective with this ID will be used to show the Search view. If no default perspective is set then the Search view will appear in the current perspective.
null
if no default perspective is set
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.