ISearchResultViewPart
is used instead.@Deprecated public interface ISearchResultView extends IViewPart
ISearchResultViewEntry
,
which groups markers based on the groupByKey
provided
by the client each time when adding a match. If every match should
show up in the search result view then the match itself can be used
as key.
The search result view has id "org.eclipse.search.SearchResultView"
.
This interface is not intended to be implemented by clients.
PROP_TITLE
Modifier and Type | Method and Description |
---|---|
void |
addMatch(String description,
Object groupByKey,
IResource resource,
IMarker marker)
Deprecated.
Informs the view that a match has been found.
|
ILabelProvider |
getLabelProvider()
Deprecated.
Returns the label provider of a search result view.
|
ISelection |
getSelection()
Deprecated.
Returns the current selection of the search result view
|
void |
searchFinished()
Deprecated.
Informs the view that the search has finished.
|
void |
searchStarted(IActionGroupFactory groupFactory,
String singularLabel,
String pluralLabelPattern,
ImageDescriptor imageDescriptor,
String pageId,
ILabelProvider labelProvider,
IAction gotoAction,
IGroupByKeyComputer groupByKeyComputer,
IRunnableWithProgress operation)
Deprecated.
Informs the view that a search has started.
|
void |
searchStarted(String pageId,
String label,
ImageDescriptor imageDescriptor,
IContextMenuContributor contributor,
ILabelProvider labelProvider,
IAction gotoAction,
IGroupByKeyComputer groupByKeyComputer,
IRunnableWithProgress operation)
Deprecated.
As of build > 20011107, replaced by the new version with additional parameter
|
void |
searchStarted(String pageId,
String singularLabel,
String pluralLabelPattern,
ImageDescriptor imageDescriptor,
IContextMenuContributor contributor,
ILabelProvider labelProvider,
IAction gotoAction,
IGroupByKeyComputer groupByKeyComputer,
IRunnableWithProgress operation)
Deprecated.
As of build > 20020514, replaced by the new version which provides an action group factory
|
getViewSite, init, init, saveState
addPropertyListener, createPartControl, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setFocus
getAdapter
void searchStarted(IActionGroupFactory groupFactory, String singularLabel, String pluralLabelPattern, ImageDescriptor imageDescriptor, String pageId, ILabelProvider labelProvider, IAction gotoAction, IGroupByKeyComputer groupByKeyComputer, IRunnableWithProgress operation)
groupFactory
- the action group factory
or null
if no factory is provided.singularLabel
- the label to be used for this search occurrence
if there is one match
or null
if the pluralLabelPattern should be usedpluralLabelPattern
- the label pattern to be used for this search occurrence
if there are more than one matches or none.
This string may contain {0} which will be replace by the match countimageDescriptor
- the image descriptor to be used for this search occurrence,
or null
if this search should not have an imagepageId
- the id of the search page which started the searchlabelProvider
- the label provider used by this search result view
or null
if the default provider should be used.
The default label provider shows the resource name and the corresponding image.gotoAction
- the action used by the view to go to a markergroupByKeyComputer
- the computer used by the view to compute the key for a markeroperation
- the runnable used by the view to repeat the searchIActionGroupFactory
ISelection getSelection()
ISelectionProvider.getSelection()
@Deprecated void searchStarted(String pageId, String label, ImageDescriptor imageDescriptor, IContextMenuContributor contributor, ILabelProvider labelProvider, IAction gotoAction, IGroupByKeyComputer groupByKeyComputer, IRunnableWithProgress operation)
pageId
- the id of the search page which started the searchlabel
- the label to be used for this search occurrenceimageDescriptor
- the image descriptor to be used for this search occurrence,
or null
if this search should not have an imagecontributor
- the context menu contributor
or null
if no context menu is contributedlabelProvider
- the label provider used by this search result view
or null
if the default provider should be used.
The default label provider shows the resource name and the corresponding image.gotoAction
- the action used by the view to go to a markergroupByKeyComputer
- the computer used by the view to compute the key for a markeroperation
- the runnable used by the view to repeat the search@Deprecated void searchStarted(String pageId, String singularLabel, String pluralLabelPattern, ImageDescriptor imageDescriptor, IContextMenuContributor contributor, ILabelProvider labelProvider, IAction gotoAction, IGroupByKeyComputer groupByKeyComputer, IRunnableWithProgress operation)
pageId
- the id of the search page which started the searchsingularLabel
- the label to be used for this search occurrence
if there is one match
or null
if the pluralLabelPattern should be usedpluralLabelPattern
- the label pattern to be used for this search occurrence
if there are more than one matches or none.
This string may contain {0} which will be replace by the match countimageDescriptor
- the image descriptor to be used for this search occurrence,
or null
if this search should not have an imagecontributor
- the context menu contributor
or null
if no context menu is contributedlabelProvider
- the label provider used by this search result view
or null
if the default provider should be used.
The default label provider shows the resource name and the corresponding image.gotoAction
- the action used by the view to go to a markergroupByKeyComputer
- the computer used by the view to compute the key for a markeroperation
- the runnable used by the view to repeat the searchvoid searchFinished()
void addMatch(String description, Object groupByKey, IResource resource, IMarker marker)
Note: It is the clients responsibility to create the marker for this match.
description
- the text description of the matchgroupByKey
- the Object
by which this match is groupedmarker
- the marker for this matchresource
- the marker's resource passed for optimizationILabelProvider getLabelProvider()
null
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.