org.topcased.search.core.engine
Class ModelExtensibleSearchResult
java.lang.Object
org.topcased.search.core.engine.ModelExtensibleSearchResult
- All Implemented Interfaces:
- org.eclipse.search.ui.ISearchResult
public final class ModelExtensibleSearchResult
- extends java.lang.Object
- implements org.eclipse.search.ui.ISearchResult
Defines a model search result to be computed by the eclipse search mechanism in order to
contribute content to the eclipse search view.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
modelSearchResultImagePath
public static final java.lang.String modelSearchResultImagePath
- See Also:
- Constant Field Values
modelSearchResultImageID
public static final java.lang.String modelSearchResultImageID
- See Also:
- Constant Field Values
ModelExtensibleSearchResult
public ModelExtensibleSearchResult(AbstractModelExtensibleSearchQuery query)
addItem
public void addItem(org.eclipse.core.resources.IFile file,
ModelExtensibleSearchResultEntry item)
getTotalMatches
public int getTotalMatches()
getMatchesForFile
public int getMatchesForFile(org.eclipse.core.resources.IFile file)
getItems
public java.util.Map<org.eclipse.core.resources.IFile,java.util.Collection<ModelExtensibleSearchResultEntry>> getItems()
addListener
public void addListener(org.eclipse.search.ui.ISearchResultListener l)
- Specified by:
addListener
in interface org.eclipse.search.ui.ISearchResult
removeListener
public void removeListener(org.eclipse.search.ui.ISearchResultListener l)
- Specified by:
removeListener
in interface org.eclipse.search.ui.ISearchResult
clean
public void clean()
getImageDescriptor
public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
- Specified by:
getImageDescriptor
in interface org.eclipse.search.ui.ISearchResult
getImage
public org.eclipse.swt.graphics.Image getImage()
getQuery
public org.eclipse.search.ui.ISearchQuery getQuery()
- Specified by:
getQuery
in interface org.eclipse.search.ui.ISearchResult
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel
in interface org.eclipse.search.ui.ISearchResult
getTooltip
public java.lang.String getTooltip()
- Specified by:
getTooltip
in interface org.eclipse.search.ui.ISearchResult
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.