public abstract class HistoryPage extends Page implements IHistoryPage, IAdaptable
Clients may subclass this class.
IHistoryPage| Constructor and Description |
|---|
HistoryPage() |
| Modifier and Type | Method and Description |
|---|---|
IHistoryPageSite |
getHistoryPageSite()
Returns the
IHistoryPageSite set for this page. |
Object |
getInput()
Returns the object whose history is currently being displayed in the history page.
|
abstract boolean |
inputSet()
Called by HistoryPage after
setInput(Object). |
boolean |
setInput(Object object)
Fetches and populates the history page for the given Object.
|
void |
setSite(IHistoryPageSite site)
Set the site for the page - this needs to be replaced with a proper
IHistoryPageSite in order to allow history pages to be displayed in
both views and dialogs. |
createControl, dispose, getControl, getSite, init, makeContributions, setActionBars, setFocusclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescription, getName, isValidInput, refreshgetAdapterpublic void setSite(IHistoryPageSite site)
IHistoryPageIHistoryPageSite in order to allow history pages to be displayed in
both views and dialogs.setSite in interface IHistoryPagesite - the history page sitepublic IHistoryPageSite getHistoryPageSite()
IHistoryPageIHistoryPageSite set for this page.getHistoryPageSite in interface IHistoryPagepublic Object getInput()
IHistoryPagegetInput in interface IHistoryPagenull
if no input has been set;public boolean setInput(Object object)
IHistoryPagesetInput in interface IHistoryPageobject - the object for which history is being requested forpublic abstract boolean inputSet()
setInput(Object). Clients can
gain access to the input by using getInput().true if the page was able to display the contents, false otherwiseGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.