# com.bea.ide.core.navigation
NavigationSvc Class

public class NavigationSvc
extends `Object`

This service allows for forward and backward navigation between points as set. The behavior is similar to forward/back navigation in a web browser: navigation back and forth does not alter the stack; adding a new item clears the forward stack. NavigationSvc has a very simple interface: consumers simply push INavigationPoints, which contain code to return the user to the position in question. INavigationPoints should be dropped on any navigable action. Good examples of places where they should be dropped are on switching to a new document, jumping to a line using find, etc. Actions which should not drop navigation points include cursor movements and typing. Once an INavigationPoint is pushed into the stack no further action is required. They will be navigated to or deleted automatically as navigation (forward/back) actions are performed.

Hierarchy
  `Object`
  `NavigationSvc`

## Nested Class Summary

`public static interface` | `NavigationSvc.I` The navigation service interface.

## Field Summary

`protected static `NavigationSvc.I`` | `instance` Static instance of the service interface.

## Constructor Summary

NavigationSvc()

## Method Summary

`public static `NavigationSvc.I`` | `get`() Obtain the service interface.

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Field Detail

### instance

    protected static NavigationSvc.I instance

  Static instance of the service interface.

## Constructor Detail

### NavigationSvc

    public NavigationSvc()

## Method Detail

### get() Method

    public static NavigationSvc.I get()

Obtain the service interface. Value is cached in the instance variable after the first use.