Package org.eclipse.team.ui.history
Interface IHistoryView
public interface IHistoryView
This interface provides a way for clients to request the History View
to display the history for a given object.
This interface is not intended to be implemented by clients.
- Since:
- 3.2
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the history page that is currently being displayed by the history view.showHistoryFor
(Object object) Shows the history for the passed in object.showHistoryFor
(Object object, boolean force) Shows the history for the given object.
-
Field Details
-
VIEW_ID
The id for this view.- Since:
- 3.3
- See Also:
-
-
Method Details
-
getHistoryPage
IHistoryPage getHistoryPage()Returns the history page that is currently being displayed by the history view. TODO: Need to explain what page this is. Is it the visible page?- Returns:
- the history page
-
showHistoryFor
Shows the history for the passed in object. This method is equivalent toshowHistoryFor(Object, boolean)
withforce
set tofalse
.- Parameters:
object
- the input whose history is to be displayed- Returns:
- returns the history page that the passed in object is being shown in or null if no appropriate page can be found.
-
showHistoryFor
Shows the history for the given object. If force isfalse
, the history may be displayed in another instance ofIHistoryView
. For example, if the target view is pinned, the history will be shown in another view instance. If force istrue
, the history will be shown in this view instance regardless of the view state.- Parameters:
object
- the input whose history is to be displayedforce
- whether this view should show the input even if it is pinned- Returns:
- returns the history page that the passed in object is being shown
in or
null
if no appropriate page can be found. - Since:
- 3.3
-