public abstract class PluginSearchResult extends SearchResult
Constructor and Description |
---|
PluginSearchResult(SearchResultProducer provider,
PluginDescriptor plugin,
java.lang.String text,
java.util.List<PluginSearchResultProducerHelper.SearchWord> words,
int priority) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SearchResult o)
Default implementation
|
void |
executeAlternate()
Executes the associated alternate action (right mouse button) for this result.
|
java.lang.String |
getDescription()
Returns the description of the result.
|
java.awt.Image |
getImage()
Returns the image of the result (can be null).
|
PluginDescriptor |
getPlugin() |
org.pushingpixels.flamingo.api.common.RichTooltip |
getRichToolTip()
Get the RichTooltip associated to the result.
|
java.lang.String |
getTitle()
Returns the title of the result.
|
execute, getProducer, getTooltip, isEnabled
public PluginSearchResult(SearchResultProducer provider, PluginDescriptor plugin, java.lang.String text, java.util.List<PluginSearchResultProducerHelper.SearchWord> words, int priority)
public PluginDescriptor getPlugin()
public java.lang.String getTitle()
SearchResult
getTitle
in class SearchResult
public java.awt.Image getImage()
SearchResult
getImage
in class SearchResult
public java.lang.String getDescription()
SearchResult
getDescription
in class SearchResult
public void executeAlternate()
SearchResult
executeAlternate
in class SearchResult
public org.pushingpixels.flamingo.api.common.RichTooltip getRichToolTip()
SearchResult
getRichToolTip
in class SearchResult
public int compareTo(SearchResult o)
SearchResult
compareTo
in interface java.lang.Comparable<SearchResult>
compareTo
in class SearchResult