|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.search.ui.NewSearchUI
A facade for access to the new search UI facilities.
Field Summary | |
static String | ACTION_SET_ID
Id of the Search action set (value "org.eclipse.search.searchActionSet"). |
static String | PLUGIN_ID
Search Plug-in Id (value "org.eclipse.search"). |
static String | SEARCH_MARKER
Search marker type (value "org.eclipse.search.searchmarker"). |
static String | SEARCH_VIEW_ID
Id of the new Search view (value "org.eclipse.search.ui.views.SearchView"). |
Constructor Summary | |
NewSearchUI()
|
Method Summary | |
static ISearchResultViewPart | activateSearchResultView()
Activates a search result view in the current workbench window page. |
static void | addQueryListener(IQueryListener l)
Registers the given listener to receive notification of changes to queries. |
static boolean | arePotentialMatchesIgnored()
Returns the preference whether a search engine is allowed to report potential matches or not. |
static String | getDefaultPerspectiveId()
Returns the ID of the default perspective. |
static ISearchQuery[] | getQueries()
Returns all search queries know to the search UI (i.e. registered via runQuery() or runQueryInForeground()). |
static ISearchResultViewPart | getSearchResultView()
Gets the search result view shown in the current workbench window. |
static boolean | isQueryRunning(ISearchQuery query)
Returns whether the given query is currently running. |
static void | openSearchDialog(IWorkbenchWindow window,
String pageId)
Opens the search dialog. |
static void | removeQueryListener(IQueryListener l)
Removes the given query listener. |
static boolean | reuseEditor()
Returns the preference whether editors should be reused when showing search results. |
static void | runQuery(ISearchQuery query)
Runs the given search query. |
static IStatus | runQueryInForeground(IRunnableContext context,
ISearchQuery query)
Runs the given search query. |
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
public static final String SEARCH_MARKER
public static final String SEARCH_VIEW_ID
public static final String ACTION_SET_ID
Constructor Detail |
public NewSearchUI()
Method Detail |
public static ISearchResultViewPart activateSearchResultView()
public static ISearchResultViewPart getSearchResultView()
public static void runQuery(ISearchQuery query)
public static IStatus runQueryInForeground(IRunnableContext context, ISearchQuery query)
public static void addQueryListener(IQueryListener l)
public static void removeQueryListener(IQueryListener l)
public static ISearchQuery[] getQueries()
public static boolean isQueryRunning(ISearchQuery query)
public static void openSearchDialog(IWorkbenchWindow window, String pageId)
public static boolean reuseEditor()
public static boolean arePotentialMatchesIgnored()
Search engines which can report inexact matches must respect this preference i.e. they should not report inexact matches if this method returns true
public static String getDefaultPerspectiveId()
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.
|
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.