Package org.eclipse.ui.internal
Class NavigationHistory
java.lang.Object
org.eclipse.ui.internal.NavigationHistory
- All Implemented Interfaces:
- INavigationHistory
Implementation of the back and forward actions.
- 
Constructor SummaryConstructorsConstructorDescriptionCreates a new NavigationHistory to keep the NavigationLocation entries of the specified page.
- 
Method SummaryModifier and TypeMethodDescriptioncreateEntry(IWorkbenchPage page, IEditorPart part, INavigationLocation location) voiddispose()Disposes this NavigationHistory and all entries.voidReturns the current location.Returns all entries in the history.voidmarkEditor(IEditorPart part) voidmarkLocation(IEditorPart part) Mark the current location into the history.booleanupdateActive(IEditorPart editor) voidupdateCookieForTab(Object oldCookie, Object newCookie) 
- 
Constructor Details- 
NavigationHistoryCreates a new NavigationHistory to keep the NavigationLocation entries of the specified page.- Parameters:
- page- the workbench page
 
 
- 
- 
Method Details- 
markEditor
- 
markLocationDescription copied from interface:INavigationHistoryMark the current location into the history. This message should be sent by clients whenever significant changes in location are detected. The location is obtained by callingINavigationLocationProvider.createNavigationLocation- Specified by:
- markLocationin interface- INavigationHistory
- Parameters:
- part- the editor part
 
- 
getLocationsDescription copied from interface:INavigationHistoryReturns all entries in the history.- Specified by:
- getLocationsin interface- INavigationHistory
- Returns:
- all entries in the history
 
- 
getCurrentLocationDescription copied from interface:INavigationHistoryReturns the current location.- Specified by:
- getCurrentLocationin interface- INavigationHistory
- Returns:
- the current location
 
- 
disposepublic void dispose()Disposes this NavigationHistory and all entries.
- 
updateCookieForTab
- 
updateActive
 
-