public interface IHistoryView
This interface is not intended to be implemented by clients.
IFileHistory
,
IHistoryPage
Modifier and Type | Field and Description |
---|---|
static String |
VIEW_ID
The id for this view.
|
Modifier and Type | Method and Description |
---|---|
IHistoryPage |
getHistoryPage()
Returns the history page that is currently being displayed by the
history view.
|
IHistoryPage |
showHistoryFor(Object object)
Shows the history for the passed in object.
|
IHistoryPage |
showHistoryFor(Object object,
boolean force)
Shows the history for the given object.
|
static final String VIEW_ID
IHistoryPage getHistoryPage()
IHistoryPage showHistoryFor(Object object)
showHistoryFor(Object, boolean)
with force
set to false
.object
- the input whose history is to be displayedIHistoryPage showHistoryFor(Object object, boolean force)
false
,
the history may be displayed in another instance of IHistoryView
.
For example, if the target view is pinned, the history will be shown in another
view instance. If force is true
, the history will be shown in this view
instance regardless of the view state.object
- the input whose history is to be displayedforce
- whether this view should show the input even if it is pinnednull
if no appropriate page can be found.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.