|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.search.ui.SearchUI
NewSearchUI
instead.
The central class for access to the Search Plug-in's User Interface. This class cannot be instantiated; all functionality is provided by static methods. Features provided:
ISearchResultView
Field Summary | |
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. |
Method Summary | |
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. Use NewSearchUI.openSearchDialog(IWorkbenchWindow, String) instead. |
static boolean |
reuseEditor()
Deprecated. Use NewSearchUI.reuseEditor() instead. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
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.
IMarker.getAttribute(java.lang.String)
,
Constant Field Valuespublic 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"
).
Method Detail |
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.
pageId
- 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
|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.