Package org.eclipse.ui
Interface INavigationLocationProvider
-
- All Known Implementing Classes:
AbstractDecoratedTextEditor
,AbstractTextEditor
,StatusTextEditor
,TextEditor
public interface INavigationLocationProvider
Should be implemented by editors that wish to contribute to the navigation history. The messagecreateNavigationLocation
will 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 INavigationLocation
createEmptyNavigationLocation()
Creates an empty navigation location.INavigationLocation
createNavigationLocation()
Creates a navigation location describing the current state.
-
-
-
Method Detail
-
createEmptyNavigationLocation
INavigationLocation createEmptyNavigationLocation()
Creates an empty navigation location. The messagerestoreState
will be sent to the location to restore its state.- Returns:
- INavigationLocation
-
createNavigationLocation
INavigationLocation createNavigationLocation()
Creates a navigation location describing the current state.- Returns:
- INavigationLocation
-
-