Package org.eclipse.ui
Interface INavigationLocationProvider
-
- All Known Implementing Classes:
AbstractDecoratedTextEditor,AbstractTextEditor,StatusTextEditor,TextEditor
public interface INavigationLocationProviderShould be implemented by editors that wish to contribute to the navigation history. The messagecreateNavigationLocationwill be sent when a new location is marked in the history.- Since:
- 2.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description INavigationLocationcreateEmptyNavigationLocation()Creates an empty navigation location.INavigationLocationcreateNavigationLocation()Creates a navigation location describing the current state.
-
-
-
Method Detail
-
createEmptyNavigationLocation
INavigationLocation createEmptyNavigationLocation()
Creates an empty navigation location. The messagerestoreStatewill be sent to the location to restore its state.- Returns:
- INavigationLocation
-
createNavigationLocation
INavigationLocation createNavigationLocation()
Creates a navigation location describing the current state.- Returns:
- INavigationLocation
-
-