Interface ICallHierarchyResult
-
- All Known Implementing Classes:
CallHierarchyResult
public interface ICallHierarchyResult
Interface for representing of call hierarchy result in built-in language
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addListener(ICallHierarchyResultListener linstener)
Adds aICallHierarchyResultListener
.org.eclipse.jface.resource.ImageDescriptor
getImageDescriptor()
Returns an image descriptor for the given ICallHierarchyResult.ICallHierarchyQuery
getQuery()
Returns the query that produced this search result.String
getSignature()
Returns a user readable label for this call hierarchy result.String
getTooltip()
Returns a tooltip to be used when this search result is shown in the UI.void
removeListener(ICallHierarchyResultListener listener)
Removes aISearchResultChangedListener
.
-
-
-
Method Detail
-
addListener
void addListener(ICallHierarchyResultListener linstener)
Adds aICallHierarchyResultListener
. Has no effect when the listener has already been added.- Parameters:
linstener
- the listener to be added, can't benull
-
removeListener
void removeListener(ICallHierarchyResultListener listener)
Removes aISearchResultChangedListener
. Has no effect when the listener hasn't previously been added.- Parameters:
listener
- the listener to be removed, can't benull
-
getSignature
String getSignature()
Returns a user readable label for this call hierarchy result. The label is typically used in the result view and should contain the search query string and number of matches.- Returns:
- the label for this search result, can't be
null
-
getTooltip
String getTooltip()
Returns a tooltip to be used when this search result is shown in the UI.- Returns:
- a user readable String, can't be
null
-
getImageDescriptor
org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
Returns an image descriptor for the given ICallHierarchyResult.- Returns:
- an image representing this search result or
null
-
getQuery
ICallHierarchyQuery getQuery()
Returns the query that produced this search result.- Returns:
- the query producing this result, can't be
null
-
-